Remove the zerocopy write threshold support, add support for ENOBUFS
authorDan Melnic <dmm@fb.com>
Thu, 9 Nov 2017 19:28:07 +0000 (11:28 -0800)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Thu, 9 Nov 2017 19:37:58 +0000 (11:37 -0800)
commitd40182262d41679cab28f6be7366cc5ff901683b
tree7abb54dc87323bccebb09fc27a637ea3dda47f49
parentbb8d886a25225b1811f2fc890c8f77b59c1d1578
Remove the zerocopy write threshold support, add support for ENOBUFS

Summary: Remove the zerocopy write threshold support since it is a little bit confusing

Reviewed By: djwatson

Differential Revision: D6256854

fbshipit-source-id: 1c992f93d7b04c4ede2fbefebde7a7ae89de3764
folly/io/async/AsyncSocket.cpp
folly/io/async/AsyncSocket.h
folly/io/async/test/ZeroCopyBenchmark.cpp