Add WITH_LIBDEFLATE option, pass Autobahn

This commit is contained in:
Alex Hultman
2021-02-24 09:22:04 +01:00
parent 414fd1b6a9
commit 3eae7116e7
6 changed files with 68 additions and 4 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ int main() {
}).ws<PerSocketData>("/*", {
/* Settings */
.compression = uWS::SHARED_COMPRESSOR,
.maxPayloadLength = 16 * 1024,
.maxPayloadLength = 16 * 1024 * 1024,
.idleTimeout = 16,
.maxBackpressure = 1 * 1024 * 1024,
.closeOnBackpressureLimit = false,