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
Stream closing, which was opened by makefile happens in "finish" method of StreamRequestHandler, but this method does not execute in WebSocketHandler, only StreamRequestHandler.setup(self):
The only obvious pattern I have found is that it occurs when a client's browser idles or disconnects in the middle of the server transmitting a message to it. I just don't know how to disconnect/stop that one specific client that idled out.
Python-dbg detected warning during websocket server working:
Real socket closing happens in case where self._io_refs = 0 (socket.py):
self._io_refs is used in makefile (socket.py):
makefile is used in "setup" from StreamRequestHandler (socketserver.py):
Stream closing, which was opened by makefile happens in "finish" method of StreamRequestHandler, but this method does not execute in WebSocketHandler, only StreamRequestHandler.setup(self):
Possible fix:
The text was updated successfully, but these errors were encountered: