Fuzz with 3kb, 8kb

This commit is contained in:
Alex Hultman
2020-07-02 03:25:05 +02:00
parent 8dfabd559d
commit f397a2f89c
2 changed files with 39 additions and 39 deletions
+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::DEDICATED_COMPRESSOR_3KB,
.compression = uWS::DEDICATED_COMPRESSOR_8KB,
/* We want this to be low so that we can hit it, yet bigger than 256 */
.maxPayloadLength = 300,
.idleTimeout = 10,