Refactor socket peeker
authorNeel Goyal <ngoyal@fb.com>
Tue, 26 Jul 2016 15:09:18 +0000 (08:09 -0700)
committerFacebook Github Bot <facebook-github-bot-bot@fb.com>
Tue, 26 Jul 2016 15:23:33 +0000 (08:23 -0700)
commit5bb10c1ed568b5ee00e6699efdb86eae5561ddd7
treebd74c62dd6d51e701e9151e47cbaff9b1c5461e6
parentb197869b704c26f05b86702e6b7262efd8246d4d
Refactor socket peeker

Summary:
Refactor the socket peeker into its
own class so that it can be used in
other places as well, for example
for peeking at plaintext traffic.

Reviewed By: knekritz

Differential Revision: D3521899

fbshipit-source-id: fcd5615dd5d7cd1ddece4c624efbdecfbbc88a09
folly/io/async/test/MockAsyncSocket.h