]> Cypherpunks repositories - gostls13.git/commit
net/http: reuse http proxy connections for different http requests
authorAlexey Borzenkov <snaury@gmail.com>
Mon, 28 May 2012 17:46:51 +0000 (10:46 -0700)
committerBrad Fitzpatrick <bradfitz@golang.org>
Mon, 28 May 2012 17:46:51 +0000 (10:46 -0700)
commitcb62365f5737d8c6a803b0737b3f34a64e526b6b
treeccc4c07886235141bdd84890ccd5e1d7c0f82074
parent042848da65a4f504542d5b2b690b198e3cd20230
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