cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-tracker mailing list Archives

[ curl-Bugs-2957769 ] Retry causes access violation with URL part sets

From: SourceForge.net <noreply_at_sourceforge.net>
Date: Wed, 24 Feb 2010 04:08:47 +0000

Bugs item #2957769, was opened at 2010-02-23 21:08
Message generated for change (Tracker Item Submitted) made by nordock
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=2957769&group_id=976

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: client module
Group: crash
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Jon Sargeant (nordock)
Assigned to: Daniel Stenberg (bagder)
Summary: Retry causes access violation with URL part sets

Initial Comment:
An access violation occurs at main.c:5272 (the line below #ifdef HAVE_FTRUNCATE) if a transfers exceeds the maximum allotted time using the following curl options:

-f
-m 2
--retry 10
--retry-delay 1

and using a URL that consists of multiple parts. For example:

http://finance.yahoo.com/q/hp?s={JPM,C,BAC}

The problem is that outs.bytes is greater than zero, but outs.stream is null. It looks like you're resetting outs.bytes to zero inside the wrong loop. I solved the problem by inserting outs.bytes=0; on line 4615 just after outs.filename = outfile;

By the way, I'm using CURL 7.20.0.

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=2957769&group_id=976
Received on 2010-02-24

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET