Implement binary and incremental clubby client

PUBLISHED_FROM=ba371b8a3d9dd8afcb771144beb8e5c344c7d6c7
This commit is contained in:
Marko Mikulicic authored and Sergey Lyubka committed 2015-09-21 15:19:33 +01:00
1 parent 0730590e35
commit 8ab96ec74b
2 files changed
+25 -6

No files matched your search

+1 -1
View File
@@ -3686,7 +3686,7 @@ static void mg_send_ws_header(struct mg_connection *nc, int op, size_t len,
int header_len;
unsigned char header[10];
header[0] = 0x80 + (op & 0x0f);
header[0] = (op & WEBSOCKET_DONT_FIN ? 0x0 : 0x80) + (op & 0x0f);
if (len < 126) {
header[1] = len;
header_len = 2;