]> git.ipfire.org Git - thirdparty/tornado.git/commit
Fix incorrect inspection of WebSocket RSV1 bit. 1497/head
authorCodeb Fan <codeb2cc@gmail.com>
Mon, 24 Aug 2015 07:02:55 +0000 (15:02 +0800)
committerCodeb Fan <codeb2cc@gmail.com>
Mon, 24 Aug 2015 07:02:55 +0000 (15:02 +0800)
commit5ac06977743a419780b35c456ce46d516571bf22
tree6b681bd89c0c20e665c8a9be32239d375cb00bd0
parent1b6157dd03dbb393de5d1066a31f4810bf609686
Fix incorrect inspection of WebSocket RSV1 bit.

`_frame_compressed` should not be overwrite in continuation frames. According to the Protocol:
https://tools.ietf.org/html/draft-ietf-hybi-permessage-compression-13#section-8.2.3.1
"the RSV1 bit is set only on the first frame"
tornado/websocket.py