Skip Menu |
 

This queue is for tickets about the POE-Component-Client-HTTP CPAN distribution.

Report information
The Basics
Id: 20867
Status: resolved
Priority: 0/
Queue: POE-Component-Client-HTTP

People
Owner: Nobody in particular
Requestors: tony [...] develop-help.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: CoClHttp looks in both HTTP_PROXY and http_proxy, remove both in 08_discard.t
Date: Mon, 7 Aug 2006 09:45:58 +1000
To: bug-POE-Component-Client-HTTP [...] rt.cpan.org
From: Tony Cook <tony [...] develop-help.com>
Download (untitled) / with headers
text/plain 526b
When run with the CPAN shell t/08_discard.t was printing the ok for the first (and only test) but then never exiting. The CPAN shell sets http_proxy from its configuration. The following code fixes the lockup --- t/08_discard.t~ 2006-03-24 10:46:18.000000000 +1100 +++ t/08_discard.t 2006-08-07 09:40:27.000000000 +1000 @@ -23,6 +23,7 @@ # Don't proxy, because localhost takes on new meaning. BEGIN { delete $ENV{HTTP_PROXY}; + delete $ENV{http_proxy}; } POE::Session->create( (also attached)

Message body is not shown because sender requested not to inline it.

Resolved as revision 273. Thanks for the patch.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.