cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Error resolving host

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 9 Aug 2001 13:55:27 +0200 (MET DST)

On Thu, 9 Aug 2001, Gilles Talbot wrote:

> but now, when i send a https request, i have the following error :
> "Received error code 0 from proxy"
> what doest it mean ?

It means that curl couldn't parse the proxy's response properly.

When doing HTTPS access through a HTTP proxy, curl does a (HTTP, unencrypted)
CONNECT request to the proxy and the proxy must respond with a 'HTTP/1.x 200'
message for curl to be able to proceed.

Your error message indicates that the proxy either returned a 'HTTP/1.x 0'
line, or more likely, didn't return any HTTP/1.x line at all.

Use -v to get more details. Show those details to us.

-- 
     Daniel Stenberg -- curl dude -- http://curl.haxx.se/
_______________________________________________
Curl-library mailing list
http://curl.haxx.se/libcurl/
Received on 2001-08-09