cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Problems related to probing for proxy authentication methods

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 29 Sep 2009 23:54:04 +0200 (CEST)

On Mon, 28 Sep 2009, Joshua Kwan wrote:

> This is fine usually, but unfortunately, the CCProxy software doesn't
> support persistent connections, so:
>
> --> CONNECT foo.mydomain.com:443 (no password, to probe for what methods are available)
> <-- HTTP/1.0 407 Unauthorized
> --> CONNECT foo.mydomain.com:443 (with password)
> <-- <<RST, ACK>>
>
> Would there be a way to force a retry in this case, and automatically never
> use connection persistence again for that server?

libcurl shouldn't require that the connection is persistant, and yes it should
react on the 407 and do a new connection for the subsequent request. I thought
that already worked... any chance you can write up a test case for the curl
test suite that repeats this?

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2009-09-29