1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-09 00:00:04 +01:00

carry over 06 stuff to 07

Signed-off-by: Andy Green <andy@warmcat.com>
This commit is contained in:
Andy Green 2011-04-24 05:49:44 +01:00
parent 283d0a2046
commit 33872cd376
3 changed files with 3 additions and 0 deletions

View file

@ -108,6 +108,7 @@ libwebsocket_client_connect(struct libwebsocket_context *context,
break;
case 5:
case 6:
case 7:
wsi->xor_mask = xor_mask_05;
break;
default:

View file

@ -670,6 +670,7 @@ libwebsocket_read(struct libwebsocket_context *context, struct libwebsocket *wsi
break;
case 5:
case 6:
case 7:
wsi->xor_mask = xor_mask_05;
debug("libwebsocket_parse calling handshake_04\n");
if (handshake_0405(wsi))

View file

@ -1295,6 +1295,7 @@ int libwebsocket_write(struct libwebsocket *wsi, unsigned char *buf,
case 4:
case 5:
case 6:
case 7:
switch (protocol & 0xf) {
case LWS_WRITE_TEXT:
n = LWS_WS_OPCODE_04__TEXT_FRAME;