feat(cli): allow configuration of http-server's timeout configuration (#35827)
* feat: add keep-alive timeout params for next-start * feat: add keep-alive timeout args to next-cli's start * docs: add docs for keep-alive timeouts * docs: fix grammar & typos * refactor: handle NaN for args * test: add tests for timeout args * revert: remove headersTimeout option * fix: remove input validation for keepAliveTimeout arg * feat: add input-range validation for keepAliveTimeout arg * Error and tests for range validation * Make sure timeout actually changes * Fix error messsage * Apply suggestions from code review Co-authored-by:Steven <steven@ceriously.com> Co-authored-by:
Hannes Bornö <hannes.borno@vercel.com> Co-authored-by:
Balázs Orbán <info@balazsorban.com> Co-authored-by:
Steven <steven@ceriously.com>
Showing
test/unit/cli.test.ts
0 → 100644
Please
register
or
sign in
to comment