Tunneling LWP https requests through an existing socket.
"Peteris Krumins [Newsgroups]" <[email protected]>
| Newsgroups | gmane.comp.lang.perl.modules.lwp |
|---|---|
| Message-ID | <[email protected]> |
Hello! Any ideas how I could re-use an existing socket (for example IO::Socket::Socks connection to a socks proxy server) to send https traffic through it? The problem which I am facing is that there seems to be no way I can tell Net::SSL package to use an existing file handle/socket for sending data. Net::SSL's connect() function calls only Crypt::SSLeay::Conn->new(); to create a new socket and there is no way I can override it or pass my socket to it. Any ideas how I could get it working? P.Krumins