Descriptionnet/http: do not send redundant Connection: close header in HTTP/1.0 responses
HTTP/1.0 connections are closed implicitly, unless otherwise specified.
Note that this change does not test or fix "request too large" responses.
Reasoning: (a) it complicates tests and fixes, (b) they should be rare,
and (c) this is just a minor wire optimization, and thus not really worth worrying
about in this context.
Fixes issue 5955.
Patch Set 1 #Patch Set 2 : diff -r 6423f26d0193 https://code.google.com/p/go #Patch Set 3 : diff -r 6423f26d0193 https://code.google.com/p/go #
Total comments: 11
Patch Set 4 : diff -r ab644299d124 https://code.google.com/p/go #Patch Set 5 : diff -r ab644299d124 https://code.google.com/p/go #Patch Set 6 : diff -r ab644299d124 https://code.google.com/p/go #MessagesTotal messages: 10
|