curl-library
Re: CURLINFO_HTTP_CONNECTCODE problem
From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Tue, 1 May 2007 14:49:12 -0700
Date: Tue, 1 May 2007 14:49:12 -0700
On Tue, May 01, 2007 at 11:53:32PM +0300, Victor Svetogor wrote:
> In my program I do CURLOPT_POST request (easy interface) using of a
> proxy-server, and I try to get value CURLINFO_HTTP_CONNECTCODE from
> function curl_easy_getinfo. But always I receive 0, it is independent
> what answer from of a proxy-server. In what a problem? It works for
> someone? curl-7.16.2
CURLINFO_HTTP_CONNECTCODE, as the name implies, is only set when curl
tunnels through the proxy using CONNECT, which is only done on an HTTPS
connection or if CURLOPT_HTTPPROXYTUNNEL is set. Are you doing either
of those?
>>> Dan
-- http://www.MoveAnnouncer.com The web change of address service Let webmasters know that your web site has movedReceived on 2007-05-01