mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-01 13:10:43 +00:00
Implement binary and incremental clubby client
PUBLISHED_FROM=ba371b8a3d9dd8afcb771144beb8e5c344c7d6c7
This commit is contained in:
1 parent
0730590e35
commit
8ab96ec74b
2 files changed
+25
-6
No files matched your search
+1
-1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user