cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: readwrite_data() and read_rewind()

From: Yang Tse <yangsita_at_gmail.com>
Date: Fri, 11 Dec 2009 19:42:24 +0100

Hi,

It seems that the read_rewind() call in readwrite_data() at line #648
of transfer.c revision 1.442 was only intended to be used when
actually doing pipelining.

So I've committed this patch
http://curl.haxx.se/cvs.cgi/curl/lib/transfer.c?r1=1.442&r2=1.443
which works for me and I hope doesn't break anything else.

If someone can figure a better fix for this, or can foresee that this
will break something, please speak up.

Cheers,

-- 
-=[Yang]=-
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2009-12-11