fix AsyncServerSocket::bind issue
Summary: When closing sockets on retry, we should use `shutdownSocketSet_` if it is set (so socket will properly be removed from the set). Also I changed all `::close()` and `::shutdown()` calls to `*NoInt()` version. Test Plan: fbconfig unicorn/test:basic_compression_test && fbmake opt -j32 while _bin/unicorn/test/test:basic_compression_test; do echo DONE; done Reviewed By: mcduff@fb.com Subscribers: trunkagent, folly-diffs@, yzhan, yfeldblum FB internal diff: D1821104 Tasks: 4752579, 6123510 Signature: t1:1821104:1423001050:5bc09ffdd6666c2884ea82dbd70831a56513cfc9 Blame Revision: D1795120
Showing
Please register or sign in to comment