aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorAli Sabil <[email protected]>2013-07-02 11:09:27 +0200
committerAli Sabil <[email protected]>2013-07-02 13:46:28 +0200
commita3b9438d16eceb61584b1637b2de4d66c0aadfc5 (patch)
tree4db369f3f703eeb6b246e92aa5df2795cc2e715a /examples
parentb0d0cabf12290f5f714de6e0c97854419c966d4d (diff)
downloadcowboy-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 'examples')
0 files changed, 0 insertions, 0 deletions