X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=folly%2Fio%2Fasync%2FAsyncTransport.h;h=c42888da211144eff5bbb1042a3b40e5cbc93074;hb=fbc4c23895b0ee3874d9a36401d580a2a8957ba9;hp=ca5cc4d2b4b2ae9b1eb1be56e1c1c49cc038102d;hpb=662b86a949f85dfcbf966a346dba8306710eabcb;p=folly.git diff --git a/folly/io/async/AsyncTransport.h b/folly/io/async/AsyncTransport.h index ca5cc4d2..c42888da 100644 --- a/folly/io/async/AsyncTransport.h +++ b/folly/io/async/AsyncTransport.h @@ -60,6 +60,10 @@ enum class WriteFlags : uint32_t { * this indicates that only the write side of socket should be shutdown */ WRITE_SHUTDOWN = 0x04, + /* + * use msg zerocopy if allowed + */ + WRITE_MSG_ZEROCOPY = 0x08, }; /*