Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bufferevent_socket_connect{,_hostname}() missing event callback and u…
…se ret code - When socket() failed in bufferevent_socket_connect() , the event callback should be called also in bufferevent_socket_connect_hostname(). eg. when use bufferevent_socket_connect_hostname() to resolve and connect an IP address but process have a smaller ulimit open files, socket() fails always but caller is not notified. - Make bufferevent_socket_connect()'s behavior more consistent: function return error then no callback, function return ok then error passed by event callback. Fixes: libevent#597 Closes: libevent#599 Closes: libevent#600
- Loading branch information