add --srv-buf-size option

This commit is contained in:
bin
2025-01-31 14:15:46 +08:00
committed by Shuanglei Tao
parent f3fe06aa02
commit db77fde404
3 changed files with 20 additions and 3 deletions

View File

@@ -121,6 +121,10 @@ Cross platform: macOS, Linux, FreeBSD/OpenBSD, OpenWrt/LEDE, Windows
-P, --ping-interval
Websocket ping interval(sec) (default: 5)
.PP
-f, --srv-buf-size
Maximum chunk of file (in bytes) that can be sent at once, a larger value may improve throughput (default: 4096)
.PP
-6, --ipv6
Enable IPv6 support

View File

@@ -83,6 +83,9 @@ ttyd 1 "September 2016" ttyd "User Manual"
-P, --ping-interval
Websocket ping interval(sec) (default: 5)
-f, --srv-buf-size
Maximum chunk of file (in bytes) that can be sent at once, a larger value may improve throughput (default: 4096)
-6, --ipv6
Enable IPv6 support