Files
node/lib
Robert Nagy 849d9e7b90 http: provide keep-alive timeout response header
In http 1.1 persistent connection protocol there is a
timing race where the client sends the request and then
the server kills the connection (due to inactivity)
before receiving the client's request.

By providing a keep-alive header it is possible to provide
the client a hint of when idle timeout would occur and
avoid the race.

Fixes: https://github.com/nodejs/node/issues/34560

PR-URL: https://github.com/nodejs/node/pull/34561
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Zeyu Yang <himself65@outlook.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Pranshu Srivastava <rexagod@gmail.com>
2020-08-01 15:04:35 +02:00
..
2020-05-24 03:26:21 +02:00
2020-02-18 22:15:50 -08:00
2020-06-22 14:29:49 -07:00
2020-06-07 12:14:49 +02:00
2020-06-02 15:38:59 +02:00
2020-06-19 07:40:11 -07:00
2020-05-16 06:42:16 +02:00
2020-06-19 17:37:26 +02:00
2020-06-23 17:08:09 -07:00
2020-06-24 16:37:42 -07:00
2020-06-30 22:36:50 +02:00
2020-03-09 12:44:16 +01:00
2020-04-28 19:10:26 +02:00
2020-07-17 12:58:38 +02:00
2019-12-11 16:38:06 -06:00
2020-05-16 06:42:16 +02:00
2020-06-29 09:52:09 -05:00