xia-chao opened PR #14661 from xia-chao:fix/serve-max-concurrent-zero to bytecodealliance:main:
Both limits were plain
usizeI think, so--max-concurrent-requests=0went through. The server kept accepting connections but didn't handle a single request...They're
NonZeroUsizenow, so a zero is rejected while parsing.
xia-chao requested dicej for a review on PR #14661.
xia-chao requested wasmtime-core-reviewers for a review on PR #14661.
:thumbs_up: alexcrichton submitted PR review.
alexcrichton added PR #14661 serve: reject zero for the --max-concurrent-* options to the merge queue.
:check: alexcrichton merged PR #14661.
alexcrichton removed PR #14661 serve: reject zero for the --max-concurrent-* options from the merge queue.
Last updated: Oct 31 2026 at 23:03 UTC