Skip Menu |
 

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

Report information
The Basics
Id: 74227
Status: rejected
Worked: 1 hour (60 min)
Priority: 0/
Queue: Net-SSLeay

People
Owner: MIKEM [...] cpan.org
Requestors: n-a [...] u01.gate01.com
Cc:
AdminCc:

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



Subject: get_http and likes does't work "through a web proxy"
Download (untitled) / with headers
text/plain 351b
Hi, I use Net::SSLeay for https connection through a web proxy. It works fine. However, http connection such as http_get doesn't work with web proxy. It send "CONNECT" command ('open_proxy_tcp_connection' does so) to proxy, instead of a "GET" command. Of cource http API is just a kindo of 'perks', therefore this item is categorized as 'Wishlist'.
Subject: Re: [rt.cpan.org #74227] get_http and likes does't work "through a web proxy"
Date: Mon, 23 Jan 2012 08:53:51 +1000
To: bug-Net-SSLeay [...] rt.cpan.org
From: Mike McCauley <mikem [...] open.com.au>
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.


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.