Update EpollEchoServerPubSub.cpp
This commit is contained in:
@@ -29,12 +29,12 @@ void test() {
|
|||||||
app->ws<PerSocketData>("/*", {
|
app->ws<PerSocketData>("/*", {
|
||||||
/* Settings */
|
/* Settings */
|
||||||
.compression = uWS::DISABLED,
|
.compression = uWS::DISABLED,
|
||||||
.maxPayloadLength = 16 * 1024 * 1024,
|
.maxPayloadLength = 512, // also have a low value here for fuzzing
|
||||||
.idleTimeout = 60,
|
.idleTimeout = 60,
|
||||||
.maxBackpressure = 16 * 1024 * 1024,
|
.maxBackpressure = 128, // we want a low number so that we can reach this in fuzzing
|
||||||
.closeOnBackpressureLimit = false,
|
.closeOnBackpressureLimit = false, // this one could be tested as well
|
||||||
.resetIdleTimeoutOnSend = true,
|
.resetIdleTimeoutOnSend = true, // and this
|
||||||
.sendPingsAutomatically = false,
|
.sendPingsAutomatically = false, // and this
|
||||||
/* Handlers */
|
/* Handlers */
|
||||||
.upgrade = nullptr,
|
.upgrade = nullptr,
|
||||||
.open = [](auto *ws) {
|
.open = [](auto *ws) {
|
||||||
|
|||||||
Reference in New Issue
Block a user