Disable zerocopy if we're notified about deferred copies, add a isZeroCopyWriteInProg...
authorDan Melnic <dmm@fb.com>
Thu, 26 Oct 2017 15:37:29 +0000 (08:37 -0700)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Thu, 26 Oct 2017 15:51:01 +0000 (08:51 -0700)
commit8f4003a8d3b8d95215238d3fd52f85e87d591c0e
treea9938e7f362f67ae96ac3bf6aa15d3a45a052705
parent0e8c7e1c97e27d96fddbdf552bc99faa22066d00
Disable zerocopy if we're notified about deferred copies, add a isZeroCopyWriteInProgress method, replace pair with a proper struct

Summary: Add zeroWriteDone callback

Reviewed By: djwatson

Differential Revision: D6097129

fbshipit-source-id: b82a942557680c3a7a3be8f81ee6f2886e99e165
folly/io/async/AsyncSocket.cpp
folly/io/async/AsyncSocket.h
folly/portability/Sockets.h