mirror of https://github.com/ethereum/go-ethereum
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
237 B
14 lines
237 B
5 years ago
|
// +build !windows
|
||
|
|
||
|
package ieproxy
|
||
|
|
||
|
import (
|
||
|
"net/http"
|
||
|
"net/url"
|
||
|
)
|
||
|
|
||
|
func proxyMiddleman() func(req *http.Request) (i *url.URL, e error) {
|
||
|
// Fallthrough to ProxyFromEnvironment on all other OSes.
|
||
|
return http.ProxyFromEnvironment
|
||
|
}
|