Hello,
On Sunday, January 22, 2012 01:04:29 AM you wrote:
Show quoted text> Sun Jan 22 01:04:27 2012: Request 74227 was acted upon.
> Transaction: Ticket created by N.A
> Queue: Net-SSLeay
> Subject: get_http and likes does't work "through a web proxy"
> Broken in: (no value)
> Severity: Wishlist
> Owner: Nobody
> Requestors: n-a@u01.gate01.com
> Status: new
> Ticket <URL:
https://rt.cpan.org/Ticket/Display.html?id=74227 >
>
>
> Hi,
> I use Net::SSLeay for https connection through a web proxy.
> It works fine.
I guess you mean you are using Net::SSLeay::get_https()
Show quoted text>
> However, http connection such as http_get doesn't work with web proxy.
I guess you mean Net::SSLeay::get_http()
Show quoted text> It send "CONNECT" command ('open_proxy_tcp_connection' does so) to proxy,
> instead of a "GET" command.
Correct.
Tests here against a public http/https proxy show that both get_http and
get_https produce correct results and seem to work fine.
Here is what I am using to test:
use Net::SSLeay;
Net::SSLeay::set_proxy('catv-89-134-182-14.catv.broadband.hu', 8080);
#($page, $result, %headers) = Net::SSLeay::get_http('www.open.com.au', 80,
'/');
($page, $result, %headers) = Net::SSLeay::get_https('www.open.com.au', 443,
'/');
print "its $page, $result\n";
Can you please post sample code that demonstrates the problem you are
reporting?
Cheers.
Show quoted text>
> Of cource http API is just a kindo of 'perks', therefore this item is
> categorized as 'Wishlist'.
--
Mike McCauley mikem@open.com.au
Open System Consultants Pty. Ltd
9 Bulbul Place Currumbin Waters QLD 4223 Australia
http://www.open.com.au
Phone +61 7 5598-7474 Fax +61 7 5598-7070
Radiator: the most portable, flexible and configurable RADIUS server
anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald,
Platypus, Freeside, TACACS+, PAM, external, Active Directory, EAP, TLS,
TTLS, PEAP, TNC, WiMAX, RSA, Vasco, Yubikey, MOTP, HOTP, TOTP,
DIAMETER etc. Full source on Unix, Windows, MacOSX, Solaris, VMS, NetWare etc.