abourget / gevent-socketio

Official repository for gevent-socketio
http://readthedocs.org/docs/gevent-socketio/en/latest/
BSD 3-Clause "New" or "Revised" License
1.21k stars 331 forks source link

Stop re-raising exception on dead websocket. #240

Open richardardrichard opened 8 years ago

richardardrichard commented 8 years ago

Re-raising the exception in transports.py means that socket.disconnect() will never be called. This also seems to have the side effect of raising an exception whenever someone doesn't cleanly disconnect the websocket.

It looks like this was added as a part of this commit: 12da9667deba432d8917129afab1daa86c20ec84