curl-library
RE: trouble with SSL URL
Date: Wed, 9 Feb 2005 11:28:52 -0800
On Tue, 8 Feb 2005, David Byron wrote:
> I'll see if I can find a good place to put this in the curl code.
Here's a patch that fixes the hang for me. The part that does the real
work is in transfer.c. The other changes are an attempt to improve a
bit of error handling.
Curl_select might be a better place to put this logic, but I'd have to
change the signature so it can get to the SSL handle and that didn't
feel like the right thing to do.
I'm still curious if we can get away with removing the Curl_select call
from Transfer, possibly by giving Curl_readwrite an extra parameter for
timeout.
As a reminder, one of these two URLs used to hang curl, depending on
whether that -1 was removed from the code or not:
./curl -k
https://curl-http-ntlm.everdream.net/curltest-no-auth/WeirdBug.xml
./curl -k
https://curl-http-ntlm.everdream.net/curltest-no-auth/WeirdBug2.xml
(WeirdBug2.xml is one byte longer than WeirdBug.xml)
-DB
- application/octet-stream attachment: ssl.patch