mirror of
https://github.com/onionshare/onionshare.git
synced 2025-01-25 10:42:58 -03:00
launch Flash in threaded mode, to support multiple concurrent connections (#117)
This commit is contained in:
parent
43a24a19d2
commit
8892126155
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue