GoogleChromeLabs / pywebsocket3

BSD 3-Clause "New" or "Revised" License
43 stars 32 forks source link

The logic to reset _deflater in _RFC1979Deflater is wrong #9

Open ricea opened 4 years ago

ricea commented 4 years ago

Migrated from https://github.com/google/pywebsocket/issues/130:

If self._no_context_takeover and flush, _deflater should be set to None but 
only after processing the given data.

Original issue reported on code.google.com by tyoshino@chromium.org on 15 May 2014 at 4:13