PerlDancer / Dancer

The easiest way to write web applications with Perl (Perl web micro-framework)
http://perldancer.org/
739 stars 211 forks source link

Fix various cpantesters failures especially proxy-related #1197

Closed bigpresh closed 5 years ago

bigpresh commented 5 years ago

We're getting quite a few cpantesters failures where smokers have HTTP proxy env vars set, and HTTP::Tiny honours them when trying to talk to 127.0.0.1, which obviously isn't going to work so well.

So, replaced all uses of HTTP::Tiny with a new tiny subclass, HTTP::Tiny::NoProxy, which knows to ignore the proxy settings for 127.0.0.1.

Also fixed up some other warnings output by our tests too.