Tune websocket echo server for performance

This commit is contained in:
Vinnie Falco
2017-07-20 08:12:14 -07:00
parent 31b8c42111
commit e66327ed4d
@@ -160,6 +160,8 @@ private:
auto& d = *d_;
d.ws.set_option(decorate(identity{}));
d.ws.set_option(read_message_max(64 * 1024 * 1024));
d.ws.set_option(auto_fragment{false});
d.ws.set_option(write_buffer_size{64 * 1024});
run();
}