Clemens Chiba said:

> I use Winsocks and OpenSSL in a client application which simulates
> HTTPS request, and it works fine as long as I don't use a proxy
> (proxy name/port same as host name/port).
>
> But if I set a proxy it does not work anymore. This is clear
> because the proxy does not know where to connect to (it cannot
> take the name from the toSend string in the example below
> because this is crypted to the proxy).
>
> So what code do I have to add so that the code works with
> a proxy?

An SSL client that is capable of being proxyied via an SSL HTTP proxy
implements the CONNECT http method, which is an extension to HTTP. The
CONNECT method allows you to specify the host and port to connect to
outside of the SSL negotiation.

Regards,
Graham
--

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to