Re: CONNECT through proxy

[email protected] ("Philippe Bruhat (BooK)")
Newsgroups perl.libwww
Message-ID <20100323094710.GC7221@plop>
On Tue, Feb 16, 2010 at 07:21:27PM -0500, Sylvain Thibault wrote:
> I am issuing a CONNECT request to a non standard server.
> Somehow the request is successfull when going through a proxy server and fails when issued directly to the server...
> 
> With the proxy, I get 200 Connection established with a working socket,
> without the proxy, I get 500 SLL negociation failed.
> 

CONNECT is meant to be used only with proxy servers.

For LWP::UserAgent to support direct HTTPS connections, you need to install Crypt::SSLeay
and directly create a GET request to the https:// URL.

-- 
 Philippe Bruhat (BooK)

 The man who most obeys the king is the man who gets crowned.
                                    (Moral from Groo The Wanderer #13 (Epic))
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.