Commit 5a2072f6 authored by Dan Melnic's avatar Dan Melnic Committed by Facebook GitHub Bot

Fix the WriteOptions gso default value - it should be disabled

Summary: Fix the WriteOptions gso default value - it should be disabled

Reviewed By: danobi

Differential Revision: D25313187

fbshipit-source-id: 581f41d9da48405092eef303630aaa88b18d1da0
parent ea2cb28e
......@@ -141,7 +141,7 @@ class AsyncUDPSocket : public EventHandler {
WriteOptions() = default;
WriteOptions(int gsoVal, bool zerocopyVal)
: gso(gsoVal), zerocopy(zerocopyVal) {}
int gso{1};
int gso{0};
bool zerocopy{false};
};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment