projects
/
folly.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add SO_ZEROCOPY support
[folly.git]
/
folly
/
io
/
async
/
AsyncTransport.h
diff --git
a/folly/io/async/AsyncTransport.h
b/folly/io/async/AsyncTransport.h
index ca5cc4d2b4b2ae9b1eb1be56e1c1c49cc038102d..c42888da211144eff5bbb1042a3b40e5cbc93074 100644
(file)
--- 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,
};
/*