cURL / Mailing Lists / curl-users / Single Mail

curl-users

PATCH: Getting multiple files with curl

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 25 Sep 2000 23:51:55 +0200 (MET DST)

Yes

The "Vladi bug" was found and corrected. The attached patch should correct
libcurl. Thanks for reporting this with such details!

The problem turned out to be that because there were "left" data from the
progress meter that the following downloaded files used, the momentary speed
could become negative and thus overwrite a smallish buffer.

The fix includes not using "left over" data _and_ enlarging the tiny buffer.

-- 
  Daniel Stenberg -- curl project maintainer -- http://curl.haxx.se/

Received on 2000-09-25