mirror of
https://github.com/onionshare/onionshare.git
synced 2025-12-10 14:06:48 -05:00
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 | ||