Descriptionnet/http: fix Transport race(s) with high GOMAXPROCS
Also adds a new test for GOMAXPROCS=16 explicitly, which now passes
reliably in a stress loop like:
$ go test -c
$ (while ./http.test -test.v -test.run=Concurrency; do echo pass; done ) 2>&1 | tee foo; less foo
(It used to fail very quickly and reliably on at least Linux/amd64)
Fixes issue 3793
Patch Set 1 #Patch Set 2 : diff -r 6e5762cf9a29 https://go.googlecode.com/hg/ #Patch Set 3 : diff -r 6e5762cf9a29 https://go.googlecode.com/hg/ #Patch Set 4 : diff -r 6e5762cf9a29 https://go.googlecode.com/hg/ #
Total comments: 7
Patch Set 5 : diff -r b90fb8c2bb6f https://go.googlecode.com/hg/ #Patch Set 6 : diff -r 65de4b905541 https://go.googlecode.com/hg/ #MessagesTotal messages: 9
|