Set CLOEXEC for connected fd
Summary: AsyncSocket sets CLOEXEC if it connects an address, but won't if it uses a connected fd. This sets CLOEXEC for such fd. Test Plan: fbconfig folly/io/async/test && fbmake runtests Reviewed By: davejwatson@fb.com Subscribers: trunkagent, folly-diffs@, zacm FB internal diff: D1809300 Signature: t1:1809300:1422900997:40fcc84506582ac67076fd975a36d094522c35c2
Showing
Please register or sign in to comment