Change kDefaultZeroCopyThreshold to 0 to avoid a regression and avoid a failure while...
[folly.git] / folly / io / async / AsyncSocket.h
index 5687e6fa0b090411c70ce720380d50869e6ac12b..fb9d2c7f5983f64245681aca39a07424b6a48475 100644 (file)
@@ -504,7 +504,7 @@ class AsyncSocket : virtual public AsyncTransportWrapper {
   void setReadCB(ReadCallback* callback) override;
   ReadCallback* getReadCallback() const override;
 
-  static const size_t kDefaultZeroCopyThreshold = 32768; // 32KB
+  static const size_t kDefaultZeroCopyThreshold = 0;
 
   bool setZeroCopy(bool enable);
   bool getZeroCopy() const {