http-proxy-to-socks icon indicating copy to clipboard operation
http-proxy-to-socks copied to clipboard

Feature: support for skipping requests to some hosts

Open alexsorokoletov opened this issue 5 years ago • 3 comments

Hi! I noticed all of the requests go directly to the proxy. It would be great to have an option to skip requests to some hosts (usually these are local requests that do not need a proxy).

I appreciate any feedback on code/feature.

Thank you for this tool!

alexsorokoletov avatar Nov 16 '19 01:11 alexsorokoletov

@oyyd would be great if you can take a look at this PR once you have a chance. Thank you!

alexsorokoletov avatar Nov 16 '19 01:11 alexsorokoletov

Great work! LGTM and leave a comment.

The new option skip has the default value of localhost|127.0.0.1 which should change the default behavior of the lib but I think it should be okay.

oyyd avatar Nov 17 '19 13:11 oyyd

Good points, @ooyd! I’ll address them 🤝

alexsorokoletov avatar Nov 17 '19 15:11 alexsorokoletov