Add basic permessage-deflate, pass entire Autobahn
This commit is contained in:
@@ -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;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user