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@lists.boost.org [mailto:boost-users-bounces@lists.boost.org] On Behalf Of Sam Miller Sent: Monday, August 30, 2010 3:26 PM To: boost-users@lists.boost.org Subject: Re: [Boost-users] boost::asio SSL connection thru proxy server
"Kumar, Akhilesh"
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