]> Cypherpunks repositories - gostls13.git/commit
[release-branch.go1] net/http: reuse http proxy connections for different http requests
authorAlexey Borzenkov <snaury@gmail.com>
Wed, 13 Jun 2012 20:24:23 +0000 (16:24 -0400)
committerBrad Fitzpatrick <bradfitz@golang.org>
Wed, 13 Jun 2012 20:24:23 +0000 (16:24 -0400)
commit71b3ca0817389602ae6c72619e58919243a5b532
tree31b0ac02f949c8ad184d8581dfe96a2066b1f8c7
parent6835ec91dd7002b16039317e539254e5a9f005d8
[release-branch.go1] net/http: reuse http proxy connections for different http requests

««« backport d0bc02d414c7
net/http: reuse http proxy connections for different http requests

Comment on cache keys above connectMethod says "http to proxy, http
anywhere after that", however in reality target address was always
included, which prevented http requests to different target
addresses to reuse the same http proxy connection.

R=golang-dev, r, rsc, bradfitz
CC=golang-dev
https://golang.org/cl/5901064

»»»
src/pkg/net/http/proxy_test.go
src/pkg/net/http/transport.go