Skip to content

proxyplease does not appear to honor system bypass list #5

Description

@vbisbest

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

Proxy settings:
Screen Shot 2021-05-05 at 11 59 44 AM

Expected:
the dialContext for localhost should have been "direct"

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions