Add disableTransparentTls call
authorPetr Lapukhov <petr@fb.com>
Wed, 25 Jan 2017 05:23:20 +0000 (21:23 -0800)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Wed, 25 Jan 2017 05:32:57 +0000 (21:32 -0800)
commita73e2ed615c0207b66a251025c36146c98b222b8
tree546571a9833c9b890a11feea8e549c08c7061d68
parenteb8b2d91a88a063d6b783c54fc3447b2046a974b
Add disableTransparentTls call

Summary: Similar to AsyncSocket, allow setting reserved sockopt after bind(). This will be recognized by intercepted accept4() call and forked sockets will properly have the TLS flag disabled.

Reviewed By: djwatson

Differential Revision: D4458831

fbshipit-source-id: fa753b9d849bd661563364d36229113f7abb0ee0
folly/io/async/AsyncServerSocket.cpp
folly/io/async/AsyncServerSocket.h