Skip Menu |

This queue is for tickets about the Net-SSLeay CPAN distribution.

Report information
The Basics
Id: 64956
Status: resolved
Worked: 10 min
Priority: 0/
Queue: Net-SSLeay

People
Owner: MIKEM [...] cpan.org
Requestors: rikov.andrey [...] gmail.com
Cc:
AdminCc:

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



Subject: $Net::SSLeay::proxyauth in concatenation (.)
Date: Thu, 20 Jan 2011 16:32:51 +0300
To: bug-Net-SSLeay [...] rt.cpan.org
From: Andrey Rikov <rikov.andrey [...] gmail.com>
Hello! I'm using Net::SSLeay module (version 1.36) in my code, everything is fine for me, but a one warning makes me sad: Use of uninitialized value $Net::SSLeay::proxyauth in concatenation (.) or string at blib/lib/Net/SSLeay.pm (autosplit into blib/lib/auto/Net/SSLeay/ open_proxy_tcp_connection.al) line 1819. The warning happens when I uses a method Net::SSLeay::set_proxy without login & password parameters (btw module's documentation says, that I can do that). Seems that following diff fixes the problem: 2527c2527,2528 < $proxyauth = $CRLF . 'Proxy-authorization: Basic ' --- Show quoted text
> $proxyauth = $proxyuser > ? $CRLF . 'Proxy-authorization: Basic '
2529c2530 < if $proxyuser; --- Show quoted text
> : '';
P.S.: Module version: 1.36 Perl version: 5.10.1 Result of 'uname -a' command: Linux andy-desktop 2.6.35-24-generic #42-Ubuntu SMP Thu Dec 2 02:41:37 UTC 2010 x86_64 GNU/Linux Best regards, Andrey Rikov
Hi Andrey, thanks for reporting this. It has now been fixed in svn.
Subject: Re: [rt.cpan.org #64956] $Net::SSLeay::proxyauth in concatenation (.)
Date: Thu, 20 Jan 2011 23:36:29 +0300
To: bug-Net-SSLeay [...] rt.cpan.org
From: Andrey Rikov <rikov.andrey [...] gmail.com>
Thanks MIKEM! ;)