Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Client: fix interpretation of zero timeout value in
NetProvider
s
As per the `Connector::wait*` API documentation, the zero timeout value means an infinite timeout: > `timeout = 0` means the method is polling the future until the response > is ready. [1] The zero timeout value is completely misinterpreted in the `LibevNetProvider` — a timeout timer should only be created if the timeout is non-zero. The zero timeout value is oddly interpreted in the `LibevNetProvider` — the corresponding infinite timeout value in the epoll API is `-1`. Closes #61 1. https://www.tarantool.io/en/doc/latest/book/connectors/cxx/tntcxx_api/#_CPPv44waitR10ConnectionI6BUFFER11NetProviderE5rid_ti
- Loading branch information