curl-users
Re: HTTPS GET/POST through a proxy with authentication fails. BUG#25 related?
From: Lau, Hang Kin <hklau_at_avistar.com>
Date: Fri, 23 Feb 2007 16:03:59 -0800
Date: Fri, 23 Feb 2007 16:03:59 -0800
> ==> CONNECT www.xyz.com:443 HTTP/1.0
> Host: www.xyz.com:443
> Proxy-Connection: Keep-Alive
> Connection: Keep-Alive
>Note how this is not disconnected by the proxy. This is therefore not
bug #25.
> Proxy CONNECT aborted
>This is because libcurl thinks the timeout has elapsed.
The time elapsed between the above "==> CONNECT ..." and "Proxy CONNECT
aborted" was less than 20ms. I am not sure there would be a timeout in
such short period?
> Also, if I tell libcurl to use BASIC authentication at the beginning,
the
> POST/GET works right away since the credentials were sent in the first
> request.
>Well, then it negotiates faster so the timeout doesn't trigger I guess.
Received on 2007-02-24