Enable EOR flag configuration for folly::AsyncSocket.
authorMaxim Georgiev <maxgeorg@fb.com>
Fri, 20 Jan 2017 00:14:24 +0000 (16:14 -0800)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Fri, 20 Jan 2017 00:17:57 +0000 (16:17 -0800)
commit5c74326fdc75ccdfc2152c15203625d8588096b6
tree049c04408c4bf3f789b3974af0a8f3d182989d3c
parentc72b52a352357a375cfaedc7acb6b1db709a9a00
Enable EOR flag configuration for folly::AsyncSocket.

Summary: EOR flag was hardcoded to "false" in folly::AsyncSocket. This diff enables changing EOR flag using AsyncSocket::setEorTracking() method.

Reviewed By: yfeldblum

Differential Revision: D4421966

fbshipit-source-id: 2e1b9b19ced6555845396ec33bfd3d5feb710640
folly/io/async/AsyncSSLSocket.cpp
folly/io/async/AsyncSSLSocket.h
folly/io/async/AsyncSocket.h
folly/io/async/test/AsyncSocketTest2.cpp