Connection closing when sending requests to a locally hosted server
I've set up a repository with a (hopefully) reproducible example and a brief explanation: https://github.com/nectariner/reqwest_issue_example
I could be doing something horribly wrong but hopefully not Thanks!
What proxy is http://127.0.0.1:49765 ?
I'm not sure I understand, how would I find out?
(Maybe worth noting I've also tried with localhost and 127.0.0.1 as well)
@mohe2015
reqwest is detecting proxies from your operating system. If you don't want that to happen, you can use the builder option .no_proxy().
reqwest is detecting proxies from your operating system. If you don't want that to happen, you can use the builder option
.no_proxy().
why reqwest doesn't use os system proxy setting? I also found reqwest always use proxy to access localhost (127.0.0.1). Is it a bug?