Tune websocket echo server for performance

This commit is contained in:
Vinnie Falco
2016-11-02 09:53:16 -04:00
parent 31b8c42111
commit e66327ed4d

View File

@@ -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();
}