Fuzz with dedicated compressor
This commit is contained in:
@@ -18,7 +18,7 @@ extern "C" int LLVMFuzzerInitialize(int *argc, char ***argv) {
|
|||||||
/* Very simple WebSocket echo server */
|
/* Very simple WebSocket echo server */
|
||||||
app = new uWS::TemplatedApp<false>(uWS::App().ws<PerSocketData>("/*", {
|
app = new uWS::TemplatedApp<false>(uWS::App().ws<PerSocketData>("/*", {
|
||||||
/* Settings */
|
/* 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 */
|
/* We want this to be low so that we can hit it, yet bigger than 256 */
|
||||||
.maxPayloadLength = 300,
|
.maxPayloadLength = 300,
|
||||||
.idleTimeout = 10,
|
.idleTimeout = 10,
|
||||||
|
|||||||
Reference in New Issue
Block a user