Disallow windowBits=8 negotiation due to Zlib bug

This commit is contained in:
Alex Hultman
2021-01-11 11:10:00 +01:00
parent 7265ffe480
commit 1acbcaf03a
2 changed files with 18 additions and 0 deletions
+3
View File
@@ -1,6 +1,9 @@
/* This is a temporary fix since we do not support this mode with pub/sub yet */
#define UWS_ALLOW_SHARED_AND_DEDICATED_COMPRESSOR_MIX
/* Zlib bug should not affect testing */
#define UWS_ALLOW_8_WINDOW_BITS
#include "../src/WebSocketExtensions.h"
#include <iostream>