diff options
author | Ali Sabil <[email protected]> | 2013-07-02 11:09:27 +0200 |
---|---|---|
committer | Ali Sabil <[email protected]> | 2013-07-02 13:46:28 +0200 |
commit | a3b9438d16eceb61584b1637b2de4d66c0aadfc5 (patch) | |
tree | 4db369f3f703eeb6b246e92aa5df2795cc2e715a /src/cowboy.erl | |
parent | b0d0cabf12290f5f714de6e0c97854419c966d4d (diff) | |
download | cowboy-a3b9438d16eceb61584b1637b2de4d66c0aadfc5.tar.gz cowboy-a3b9438d16eceb61584b1637b2de4d66c0aadfc5.tar.bz2 cowboy-a3b9438d16eceb61584b1637b2de4d66c0aadfc5.zip |
Fix websocket unmasking when compression is enabled
The unmasking logic was based on the length of inflated data instead
of the length of the deflated data. This meant data would get corrupted
when we receive a websocket frame split across multiple TCP packets.
Diffstat (limited to 'src/cowboy.erl')
0 files changed, 0 insertions, 0 deletions