Handle connect() returning EINPROGRESS
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libmemcached |
New
|
Undecided
|
Unassigned |
Bug Description
libmemcached is returning errors with errno set to EINPROGRESS. From the connect() man page:
EINPROGRESS
The socket is nonblocking and the connection cannot be completed immediately. It is possible to
error codes listed here, explaining the reason for the failure).
So, EINPROGRESS should never cause an error that the user sees. Instead, it should be handled by libmemcached (and errno set back to zero).