Merge pull request #810 from dotcloud/proxy-fix

fix regression on proxy
This commit is contained in:
Sam Alba 2013-06-04 08:46:40 -07:00
commit 767c90c252

View file

@ -479,6 +479,7 @@ func NewRegistry(root string) *Registry {
httpTransport := &http.Transport{ httpTransport := &http.Transport{
DisableKeepAlives: true, DisableKeepAlives: true,
Proxy: http.ProxyFromEnvironment,
} }
r := &Registry{ r := &Registry{