cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Curl timeouts issue in NSS

From: Kamil Dudka <kdudka_at_redhat.com>
Date: Wed, 30 Dec 2009 21:53:40 +0100

On Wednesday 30 of December 2009 17:43:50 Kevin Baughman wrote:
> This function says it returns the number of bytes actually sent, but I
> think CURLE_OPERATION_TIMEDOUT is 28. Unless I am missing something, when
> I walk back up the stack the code would assume that 28 bytes have been sent
> and then continue sending the rest. The same issue exists in
> Curl_nss_recv.
>
> I'm attaching a patch to return -1 in this case.

FYI I've just built packages for Fedora 11/12 with Kevin's patch applied as
this is 7.19.7 issue. However the bug seems to be already fixed in CVS
by the following commit:

http://permalink.gmane.org/gmane.comp.web.curl.library/25372

Kamil
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2009-12-30