Add basic permessage-deflate, pass entire Autobahn

This commit is contained in:
Alex Hultman
2018-11-29 08:37:31 +01:00
parent 00cfac9215
commit 6c9ac88f50
11 changed files with 372 additions and 19 deletions
+5
View File
@@ -22,6 +22,8 @@
#include <vector>
#include <mutex>
#include "PerMessageDeflate.h"
namespace uWS {
struct Loop;
@@ -43,6 +45,9 @@ public:
char *corkBuffer = new char[CORK_BUFFER_SIZE];
int corkOffset = 0;
bool corked = false;
/* Compression data */
InflationStream *inflationStream = nullptr;
};
}