Boost logo

Boost Users :

Subject: Re: [Boost-users] boost::asio SSL connection thru proxy server
From: Kumar, Akhilesh (Akhilesh.Kumar_at_[hidden])
Date: 2010-08-30 19:25:10


Since I need to connect to secure server before I can do handshake, If I connect to proxy 1st (I will have to do this if I am going thru proxy) how do I connect to secure server for Handshake. If I connect to proxy and do handshake it does not make sense logically and it does fails("asio.ssl error") if I try doing this. So the question is If I connect to Proxy 1st how do I create another secure socket and connect it to secure server which know that it has to go thru proxy?

This is the connection I want to established.
SecureSocket -> Proxy ->SecureServer.

Thanks,

Akhilesh Kumar

From: boost-users-bounces_at_[hidden] [mailto:boost-users-bounces_at_[hidden]] On Behalf Of Sam Miller
Sent: Monday, August 30, 2010 3:26 PM
To: boost-users_at_[hidden]
Subject: Re: [Boost-users] boost::asio SSL connection thru proxy server

> "Kumar, Akhilesh" <Akhilesh.Kumar_at_[hidden]>
>
> Here is my code snippet to connect to a server without proxy, This
> code works fine I have tested it, my question is what changes I need
> to make if I have to go thru proxy to connect to server.

Why do you assume changes are required? Have you tried connecting to a proxy? Does it work using your existing code?

Sam



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net