mirror of
https://github.com/onionshare/onionshare.git
synced 2024-10-01 01:35:40 -04:00
launch Flash in threaded mode, to support multiple concurrent connections (#117)
This commit is contained in:
parent
43a24a19d2
commit
8892126155
@ -193,7 +193,7 @@ def shutdown(shutdown_slug_candidate):
|
||||
|
||||
def start(port, stay_open=False):
|
||||
set_stay_open(stay_open)
|
||||
app.run(port=port)
|
||||
app.run(port=port, threaded=True)
|
||||
|
||||
def stop(port):
|
||||
# to stop flask, load http://127.0.0.1:<port>/<shutdown_slug>/shutdown
|
||||
|
Loading…
Reference in New Issue
Block a user