Add SO_ZEROCOPY support
[folly.git] / folly / io / async / AsyncServerSocket.h
index fad20a01700ac3fe3a14aae94977d854a9b90867..6589c667e91b6a047d225cb17ea2784b857f86d7 100644 (file)
@@ -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.
    *