add shutdownWrite to wangle for closing socket write only
authorWoo Xie <woo@fb.com>
Mon, 12 Oct 2015 22:48:56 +0000 (15:48 -0700)
committerfacebook-github-bot-4 <folly-bot@fb.com>
Tue, 13 Oct 2015 05:21:00 +0000 (22:21 -0700)
commit09417cff863744a9e1aed90d243ceae8bda3cd3b
tree320a2770e24f11b87346016bc7f9dcb40f42f3aa
parent2bebe62f4abfe60242af8dc71a3d6b12f1416c8b
add shutdownWrite to wangle for closing socket write only

Summary: current wangle has no way to close socket write side. writeFlags is extended so that wangle/AsyncSocketHandler can distinguish closeNow(), closeWithReset() and shutdownWrite()

Reviewed By: @viswanathgs

Differential Revision: D2522056

fb-gh-sync-id: 60616176d78311a4a09f9761a6ccda01dd502a88
folly/io/async/AsyncTransport.h