]> granicus.if.org Git - libevent/commit
test: fix bufferevent/bufferevent_connect_fail_eventcb* under osx/freebsd
authorAzat Khuzhin <azat@libevent.org>
Mon, 13 Jan 2020 23:14:16 +0000 (02:14 +0300)
committerAzat Khuzhin <azat@libevent.org>
Mon, 13 Jan 2020 23:36:39 +0000 (02:36 +0300)
commit30fe125041ab38045487bd3af60d2f564dffc81c
tree33cbd0f5ac50c1c9d63e8d12a34d9c963de7264b
parent10504fcab927e8b226ef2e988b1b3f175c3e9f71
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().
test/regress_bufferevent.c