Bug #7034 » 0001-Only-check-first-fragment-for-ws13-decompression.patch
src/http/RequestParser.C | ||
---|---|---|
/* RSV1-3 must be 0 */
|
||
if (frameType & 0x70 && (!req.pmdState_.enabled && frameType & 0x30))
|
||
return Request::Error;
|
||
|
||
frameCompressed_ = frameType & 0x40;
|
||
#else
|
||
if(frameType & 0x70)
|
||
return Request::Error;
|
||
... | ... | |
case 0x9: // Ping
|
||
case 0xA: // Pong
|
||
wsFrameType_ = frameType;
|
||
frameCompressed_ = frameType & 0x40;
|
||
break;
|
||
default:
|