Skip Menu |

This queue is for tickets about the LWP-Curl CPAN distribution.

Report information
The Basics
Id: 69372
Status: resolved
Priority: 0/
Queue: LWP-Curl

People
Owner: LORN [...] cpan.org
Requestors: david [...] prozone.org
Cc:
AdminCc:

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



Subject: Proxy deactivate
When $lwpcurl->proxy('') is called, it is simply ignored. The problem is on this lines: sub proxy { my ( $self, $proxy ) = @_; if ( !$proxy ) { # Show be changed by if ( !defined $proxy ) { return $self->{proxy}; } $self->{proxy} = $proxy; $self->{agent}->setopt( CURLOPT_PROXY, $self->proxy ); }
Hi, I fixed at http://github.com/lorn/lwp-curl. Thanks for the patch :) I'll send to CPAN soon. Em Sex Jul 08 17:57:47 2011, DOLIVEIRA escreveu: Show quoted text
> When $lwpcurl->proxy('') is called, it is simply ignored. The problem > is on this lines: > > > sub proxy { > my ( $self, $proxy ) = @_; > if ( !$proxy ) { # Show be changed by if ( !defined > $proxy ) { > return $self->{proxy}; > } > $self->{proxy} = $proxy; > $self->{agent}->setopt( CURLOPT_PROXY, $self->proxy ); > }