Files
node/lib
Yann Hamon 277271c4a9 http: send connection: close when closing conn
HTTP/1.1 mandates connections which do not support keep-alive and
close the connection send the connection: close header, see
https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.10

This page also provides more information:
https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Connection

I understand that HTTP/1.1 defaults to keep-alive - and that the
Connection: close header is required when closing a connection.

This adds the Connection: close header in the 400 responses
sent on client errors.

Backport-PR-URL: https://github.com/nodejs/node/pull/26627
PR-URL: https://github.com/nodejs/node/pull/26467
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
2019-04-16 14:29:20 +01:00
..
2018-12-03 13:33:01 -05:00
2019-01-28 21:54:52 -08:00
2018-09-03 17:56:53 +02:00
2019-02-28 23:37:39 +11:00
2019-01-28 21:54:52 -08:00
2018-12-25 09:48:37 -05:00
2019-02-28 23:37:44 +11:00
2018-07-17 14:08:55 +02:00
…