--retry: access violation with URL part sets continued

When getting multiple URLs, curl didn't properly reset the byte counter
after a successful transfer so if the subsequent transfer failed it
would wrongly use the previous byte counter and behave badly (segfault)
because of that. The code assumes that the byte counter and the 'stream'
pointer is well in synch.

Reported by: Jon Sargeant
Bug: http://curl.haxx.se/bug/view.cgi?id=3028241
This commit is contained in:
Daniel Stenberg
2010-07-14 23:50:01 +02:00
parent 84332b60b9
commit c8d42b2f1c
2 changed files with 4 additions and 2 deletions

View File

@@ -34,6 +34,7 @@ This release includes the following bugfixes:
o threaded resolver: fix timeout issue
o multi: fix condition that remove timers before trigger
o examples: add curl_multi_timeout
o --retry: access violation with URL part sets continued
This release includes the following known bugs: