-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
Testing on OSX. Sample:
a, _ := url.Parse("http://localhost/")
b, _ := url.Parse("https://www.google.com")
dialContext2 := proxyplease.NewDialContext(proxyplease.Proxy{TargetURL: a})
dialContext3 := proxyplease.NewDialContext(proxyplease.Proxy{TargetURL: b})
Output
2021/05/05 11:57:39 proxyplease.proxy> No proxy provided. Attempting to infer from system.
2021/05/05 11:57:39 proxyplease.proxy> Inferred proxy from system: http://127.0.0.1:8080
2021/05/05 11:57:40 proxyplease.proxy> No proxy provided. Attempting to infer from system.
2021/05/05 11:57:40 proxyplease.proxy> Inferred proxy from system: http://127.0.0.1:8080
Expected:
the dialContext for localhost should have been "direct"
Metadata
Metadata
Assignees
Labels
No labels
