mirror of https://github.com/golang/go.git
Clean up unnecessary change
This commit is contained in:
parent
1e9a27de3b
commit
0ac1456698
|
|
@ -35,10 +35,6 @@ import (
|
|||
"golang.org/x/net/http/httpproxy"
|
||||
)
|
||||
|
||||
// DefaultMaxIdleConnsPerHost is the default value of Transport's
|
||||
// MaxIdleConnsPerHost.
|
||||
const DefaultMaxIdleConnsPerHost = 2
|
||||
|
||||
// DefaultTransport is the default implementation of Transport and is
|
||||
// used by DefaultClient. It establishes network connections as needed
|
||||
// and caches them for reuse by subsequent calls. It uses HTTP proxies
|
||||
|
|
@ -54,6 +50,10 @@ var DefaultTransport RoundTripper = &Transport{
|
|||
ExpectContinueTimeout: 1 * time.Second,
|
||||
}
|
||||
|
||||
// DefaultMaxIdleConnsPerHost is the default value of Transport's
|
||||
// MaxIdleConnsPerHost.
|
||||
const DefaultMaxIdleConnsPerHost = 2
|
||||
|
||||
// Transport is an implementation of RoundTripper that supports HTTP,
|
||||
// HTTPS, and HTTP proxies (for either HTTP or HTTPS with CONNECT).
|
||||
//
|
||||
|
|
|
|||
Loading…
Reference in New Issue