Skip to content

Fix protocol mismatch error; implement basic auth for http proxy#19

Open
restyler wants to merge 2 commits intozjael:masterfrom
restyler:master
Open

Fix protocol mismatch error; implement basic auth for http proxy#19
restyler wants to merge 2 commits intozjael:masterfrom
restyler:master

Conversation

@restyler
Copy link

@restyler restyler commented Sep 9, 2020

Under some circumstances the options.port could be '80' string which caused issues with proto mismatch, when the script incorrectly tries to connect to https host via 80 port instead of 443. The line #45 comparison is made less strict to mitigate this.

I also needed basic auth for http proxies. Hopefully this may be useful for someone else. Cheers!

ipv4 enforcement for socks4; port 80 mitigation for protocol error fixing
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

Successfully merging this pull request may close these issues.

1 participant