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