Descriptionnet/http: use TCP keep-alives for ListenAndServe and ListenAndServeTLS
Our default behavior for the common cases shouldn't lead to
leaked TCP connections (e.g. from people closing laptops) when
their Go servers are exposed to the open Internet without a
proxy in front.
Too many users on golang-nuts have learned this the hard way.
No API change. Only ListenAndServe and ListenAndServeTLS are
updated.
Patch Set 1 #Patch Set 2 : diff -r 1b7c5daffdff https://go.googlecode.com/hg/ #Patch Set 3 : diff -r 1b7c5daffdff https://go.googlecode.com/hg/ #Patch Set 4 : diff -r f1e918132139 https://go.googlecode.com/hg/ #Patch Set 5 : diff -r 1d814e59a8df https://go.googlecode.com/hg/ #MessagesTotal messages: 6
|