server: add --exit-no-conn option (#1029)

Co-authored-by: Shuanglei Tao <tsl0922@gmail.com>
This commit is contained in:
baitian
2024-03-05 22:11:37 +08:00
committed by GitHub
parent c5f742f69e
commit 116ce8ff07
6 changed files with 19 additions and 4 deletions

View File

@@ -80,6 +80,7 @@ OPTIONS:
-O, --check-origin Do not allow websocket connection from different origin
-m, --max-clients Maximum clients to support (default: 0, no limit)
-o, --once Accept only one client and exit on disconnection
-q, --exit-no-conn Exit on all clients disconnection
-B, --browser Open terminal with the default system browser
-I, --index Custom index.html path
-b, --base-path Expected base path for requests coming from a reverse proxy (eg: /mounted/here, max length: 128)