Signed-off-by: Andy Green <andy@warmcat.com>
wsi->xor_mask = xor_mask_04;
break;
case 5:
+ case 6:
wsi->xor_mask = xor_mask_05;
break;
default:
if (handshake_0405(wsi))
goto bail;
break;
- case 5: /* 05 */
+ case 5:
+ case 6:
wsi->xor_mask = xor_mask_05;
debug("libwebsocket_parse calling handshake_04\n");
if (handshake_0405(wsi))
break;
case 4:
case 5:
+ case 6:
wsi->all_zero_nonce = 1;
wsi->frame_masking_nonce_04[0] = c;
if (c)
break;
case 4:
case 5:
+ case 6:
/*
* 04 logical framing from the spec (all this is masked when
* incoming and has to be unmasked)
case 4:
case 5:
+ case 6:
switch (protocol & 0xf) {
case LWS_WRITE_TEXT:
n = LWS_WS_OPCODE_04__TEXT_FRAME;