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
/
AsyncServerSocket.h
diff --git
a/folly/io/async/AsyncServerSocket.h
b/folly/io/async/AsyncServerSocket.h
index fad20a01700ac3fe3a14aae94977d854a9b90867..6589c667e91b6a047d225cb17ea2784b857f86d7 100644
(file)
--- a/
folly/io/async/AsyncServerSocket.h
+++ b/
folly/io/async/AsyncServerSocket.h
@@
-319,6
+319,11
@@
class AsyncServerSocket : public DelayedDestruction
}
}
+ /* enable zerocopy support for the server sockets - the s = accept sockets
+ * inherit it
+ */
+ bool setZeroCopy(bool enable);
+
/**
* Bind to the specified address.
*