mirror of
https://github.com/onionshare/onionshare.git
synced 2024-12-26 07:49:48 -05:00
5a7ab3c12e
The way flask-socketio stops a connection when running using eventlet is by raising SystemExit to abort all the processes. Hence the connections are closed and no response is returned So I am just catching the ConnectionError to check if it was chat mode, in which case it's okay. |
||
---|---|---|
.. | ||
__init__.py | ||
chat_mode.py | ||
receive_mode.py | ||
send_base_mode.py | ||
share_mode.py | ||
web.py | ||
website_mode.py |