1 Oct 2009 20:28
Re: Problems related to probing for proxy authentication methods
Joshua Kwan <jkwan <at> vmware.com>
2009-10-01 18:28:38 GMT
2009-10-01 18:28:38 GMT
On 10/1/09 00:09, "Daniel Stenberg" <daniel <at> haxx.se> wrote: >> Maybe the right way to deal with it is: if the request is not the first >> request on the connection and the server resets the connection, then retry >> the request on a fresh connection. > > Sounds about right. The worst part is that the CONNECT function has turned > into a rather messy thing that would benefit from a little cleanup... In this case, would the initial connection reset error be seen by the cURL client, or would it be masked unless the second request fails too? I was also taking a look at Curl_proxyCONNECT and winced a little.. as it is blocking! We use cURL in a GUI app so it's important that it blocks as little as possible. -Josh ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.html
RSS Feed