[10.x] http, http2: flag for overriding server timeout
This is the 10.x backport of #27704.
Make it possible to override the default http server timeout. Ideally there should be no server timeout - as done on the master branch. This is a non-breaking way to enable platform providers to override the value.
PR-URL: https://github.com/nodejs/node/pull/27704 Refs: https://github.com/nodejs/node/pull/27558 Refs: https://github.com/nodejs/node/issues/27556 Reviewed-By: Anna Henningsen anna@addaleax.net Reviewed-By: Myles Borins myles.borins@gmail.com Reviewed-By: Ruben Bridgewater ruben@bridgewater.de
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
tests and/or benchmarks are included -
documentation is changed or added -
commit message follows commit guidelines