Update EpollEchoServerPubSub.cpp

This commit is contained in:
Alex Hultman
2021-09-12 19:42:14 +02:00
committed by GitHub
parent 0bf9483894
commit 5f0065825a
+5 -5
View File
@@ -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) {