cURL / Mailing Lists / curl-library / Single Mail

curl-library

Problems related to probing for proxy authentication methods

From: Joshua Kwan <jkwan_at_vmware.com>
Date: Mon, 28 Sep 2009 10:44:14 -0700

Hey all,

I recently received a bug related to my project about its failure to interact properly with a sketchy-sounding proxy server program for Windows called CCProxy: http://www.youngzsoft.net/ccproxy/

Our program uses the CURLAUTH_ANY setting to probe for all possible proxy authentication situations, which as the documentation mentions, may incur an extra round-trip for authentication discovery.

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?

Or is it really just that CCProxy is horribly broken and it's not worth supporting it?

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