Skip Menu |
 

This queue is for tickets about the libwww-perl CPAN distribution.

Report information
The Basics
Id: 18790
Status: rejected
Priority: 0/
Queue: libwww-perl

People
Owner: Nobody in particular
Requestors: William.Ricker [...] fmr.com
Cc:
AdminCc:

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



Subject: LWP::Simple head does not use proxy
LWP::Simple head() method should observe ua->proxy settings, but does not appear to do so. Enough servers are broken with HEAD and I've got a workaround so I'm rating this only NORMAL. CPAN::Mini uses LWP::Simple, and uses the head($remote) method to test connectivity for early exit. Alas, the head method does not appear to (correctly) use the $ua->proxy settings. Commenting out the head-or- croak check in CPAN/Mini.pm makes the minicpan script work from behind the firewall. I'll post the work-around on use.perl.org ... libwww-perl-5.800 LWP::Simple 1.41 LWP::UserAgent 2.32 Perl 5.8.5 locally built from sources osname=aix, osvers=5.2.0.0, archname=aix config_args='-d' hint=recommended, useposix=true, d_sigaction=define usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef useperlio=define d_sfio=undef uselargefiles=define usesocks=undef use64bitint=undef use64bitall=undef uselongdouble=undef usemymalloc=n, bincompat5005=undef OS version unchanged since Perl config -- AIX 5.2. Thanks for the great tools! -- Bill aka n1vux on use.perl.org
Download (untitled) / with headers
text/plain 121b
Can't see how it can avoid using proxy. It uses the same code path as everything else that uses $ua to process requests.
Subject: RE: [rt.cpan.org #18790] LWP::Simple head does not use proxy
Date: Mon, 7 Apr 2008 09:33:19 -0400
To: <bug-libwww-perl [...] rt.cpan.org>
From: "Ricker, William" <William.Ricker [...] FMR.COM>
Download (untitled) / with headers
text/plain 1.2k
Gisle, Show quoted text
> Can't see how it can avoid using proxy. > It uses the same code path as > everything else that uses $ua to process requests.
That's what I would have expected. Maybe our Proxy server is (was) busted on Head. So few things use it, and most that do silently fail-back to getting the page, it doesn't seem to be widely correctly implemented, so hardly unlikely. At this late date, I don't recall why I discounted that possibility originally. Thanks for responding, I'd forgotten I'd gotten CPAN::Mini working on AIX here at all. As I said in the ticket, "Thanks for the great tools!". -- Bill aka n1vux on use.perl.org (and rarely BillN1VUX on #perl) William Ricker Principal (swe), Architecture Services Fidelity Investments / FPCMS / Systems 617-563-0648 / 780-2223 M/S Z1E William.Ricker@FMR.com http://www.linkedin.com/in/n1vux Show quoted text
-----Original Message----- From: Gisle_Aas via RT [mailto:bug-libwww-perl@rt.cpan.org] Sent: Monday, April 07, 2008 6:48 AM To: Ricker, William Subject: [rt.cpan.org #18790] LWP::Simple head does not use proxy <URL: http://rt.cpan.org/Ticket/Display.html?id=18790 > Can't see how it can avoid using proxy. It uses the same code path as everything else that uses $ua to process requests.


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.