| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
This enables us to later use the timeout parameter of epoll_wait() to
timely remove expired leases.
|
| |
|
|
|
|
|
| |
Only sleep after failed try_connect(), because it might fail quickly.
The read should be blocking for 1s (SO_RCVTIMEO).
|
|
|
|
| |
Avoiding the unnecessary complexity of non-blocking I/O.
|
|
|
|
|
|
|
|
| |
POSIX says:
"In each pollfd structure, poll() shall clear the revents member,
except that where the application requested a report on a condition by
setting one of the bits of events listed above, poll() shall set the
corresponding bit in revents if the requested condition is true."
|
| |
|
| |
|
|
|