Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

To fix proxy&tls set model bug #19

Open
lyx744 opened this issue Dec 24, 2021 · 1 comment
Open

To fix proxy&tls set model bug #19

lyx744 opened this issue Dec 24, 2021 · 1 comment

Comments

@lyx744
Copy link

lyx744 commented Dec 24, 2021

bug in method getTransport(request.go)
you should change this method:
if r.transport == nil && r.tlsClientConfig == nil && r.proxy == nil{
return http.DefaultTransport
}

r.transport = new(http.Transport)
    ...
@youxu
Copy link

youxu commented Jun 11, 2024

+1 Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants