cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: HTTPS GET/POST through a proxy with authentication fails. BUG#25 related?

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 9 Mar 2007 23:14:17 +0100 (CET)

On Tue, 27 Feb 2007, Lau, Hang Kin wrote:

> After further investigating, it seems the proxy sends back a RST after
> sending "407 Unauthorized". This causes Curl_read() to fail with a 10053
> error (under Windows). This scenario was not dealt with properly (not
> detected as connection closed) and the request was aborted instead of
> reconnecting to the proxy with the appropriate credentials.
>
> I don't have a fix to this problem yet, any suggestions?

Can you elaborate on why libcurl doesn't bail out when "10053" is returned ?

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2007-03-09