Add ability to get application protocol from AsyncTransportWrapper
authorSubodh Iyengar <subodh@fb.com>
Wed, 4 Nov 2015 05:38:07 +0000 (21:38 -0800)
committerfacebook-github-bot-1 <folly-bot@fb.com>
Wed, 4 Nov 2015 06:20:21 +0000 (22:20 -0800)
commit8f06296efe2460dd6166e65d0d5fcd187c5163d6
treeaf88b03acf084d3c18bf503584535308892bc59b
parent46bf40d1c82f1190c384222b2cf9cb2525c6e081
Add ability to get application protocol from AsyncTransportWrapper

Summary: Allows AsyncTransportWrapper's to supply the underlying application
protocol being used, for example using NPN for SSL or some other
generic protocol indication mechanism.

Reviewed By: ranjeeth

Differential Revision: D2614179

fb-gh-sync-id: 2079782bb7d44f898fb14c7df15077209b022424
folly/io/async/AsyncSSLSocket.cpp
folly/io/async/AsyncSSLSocket.h
folly/io/async/AsyncTransport.h