http: send connection: close on client error #26467
HTTP/1.1 mandates connections which do not support keep-alive and
This page also provides more information:
I understand that HTTP/1.1 defaults to keep-alive - and that the
This adds the Connection: close header in the 400 and 414
Thanks @lpinca, would you accept a PR targeting 10/11, which only changes this for 400 responses? I’m especially interested in getting this backported into 10 LTS.
Is this something, which node does and if yes, do you have some pointers to how its done? Just cherry-pick parts of this?