curl-and-php
Re: question: ssl through proxies
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 5 Sep 2006 16:46:23 +0200 (CEST)
Date: Tue, 5 Sep 2006 16:46:23 +0200 (CEST)
On Tue, 5 Sep 2006, Gaetano Giunta wrote:
> I maintain some http client code, that takes advantage of curl when
> available. It should properly parse responses that gotten back from
> https-connected web servers via a tunnelling proxy.
>
> Do you think it is correct to use this check to extract the http headers
> inserted by the proxy in such a situation?
libcurl already separates the body from the header so I don't understand why
you would do this as well. And if you do it yourself anyway, I suggest you
read RFC2616 on how to do it and not just assume that proxies will use
specific strings such as "Connection established".
-- Commercial curl and libcurl Technical Support: http://haxx.se/curl.html _______________________________________________ http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-phpReceived on 2006-09-05