You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Reader constantly loses connection with nsqd on large payloads when running on tornado 6 with enabled deflate option. This also happens to Writer but quite rarely. I believe there is a bug somewhere in DeflateSocket.
The issue isn't reproducible with tornado 5 or with disabled deflate.
This may be because the DeflateSocketrecv_into() method is a bit hacky, and may stash additional data for the next read, while the raw underlying socket has been fully read and does not indicate readyness for the ioloop.
Versions
Issue
Reader constantly loses connection with nsqd on large payloads when running on tornado 6 with enabled deflate option. This also happens to Writer but quite rarely. I believe there is a bug somewhere in DeflateSocket.
The issue isn't reproducible with tornado 5 or with disabled deflate.
Steps to reproduce
Running nsqd:
Preparing virtual environment:
Running the program (sometimes you should restart the script a few times to run into the issue):
main.py:
The text was updated successfully, but these errors were encountered: