curl-users
Re: Testing 7.9.3-pre1
Date: Wed, 9 Jan 2002 00:26:03 +0100 (MET)
On Tue, 8 Jan 2002, Georg Horn wrote:
> First, it happens that curl finishes with an error but without an error
> message.
I found and corrected a newly introduced case in lib/ssluse.c that probably
did this.
> Second, reading from an SSL-connection does not work correctly. I think
> that libcurl now immediately returns from an SSL_read, because the socket
> is no longer blocking:
Indeed. Your example site was perfect to reproduce this problem (once I tried
it on Linux, my Solaris box runs fine on it).
I've committed this fix:
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/curl/curl/lib/sendf.c.diff?r1=1.35&r2=1.36
It isn't really the perfect fix (as it kind of just loops until the read
successes instead of going back to select() for more data), and I haven't yet
made the same fix for writing, but it should fix the short-term problems...
-- Daniel Stenberg -- curl groks URLs -- http://curl.haxx.se/Received on 2002-01-09