Author :
Azat Khuzhin
Date :
2020-01-14 02:14:16
Hash :30fe1250 Message :test: fix bufferevent/bufferevent_connect_fail_eventcb* under osx/freebsd
For OSX the socket should be closed, otherwise the "connection refused"
will not be triggered.
And freebsd can return error from the connect().