Fuzz with dedicated compressor

This commit is contained in:
Alex Hultman
2020-06-28 08:27:20 +02:00
committed by GitHub
parent 80ba7fb035
commit 0ec45fc740
+1 -1
View File
@@ -18,7 +18,7 @@ extern "C" int LLVMFuzzerInitialize(int *argc, char ***argv) {
/* Very simple WebSocket echo server */
app = new uWS::TemplatedApp<false>(uWS::App().ws<PerSocketData>("/*", {
/* Settings */
.compression = uWS::SHARED_COMPRESSOR,
.compression = uWS::DEDICATED_COMPRESSOR_3KB,
/* We want this to be low so that we can hit it, yet bigger than 256 */
.maxPayloadLength = 300,
.idleTimeout = 10,