Skip to content

Fix crash when active closing sockets

Compare
Choose a tag to compare
@terry-xiaoyu terry-xiaoyu released this 27 Aug 06:09
· 97 commits to master since this release
Fix acceptor: do not crash on closed socket when setting opts

If the socket (port) is closed (by client) before sending
any data, acceptor may crash when setting active option.
In this commit, the error posix code is captured and logged,
then acceptor can stop.