| |
|
|
|
cURL Mailing List Monthly Index Single Mail
curl-library Mailing List Archives
Re: stop downloading after x bytes?
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 10 Jan 2006 11:07:34 +0100 (CET)
On Tue, 10 Jan 2006, Andrew wrote:
> I have tried calling the close function within the writedata procedure....
That is perfectly understandable as you're effectively cutting off the branch
> - Is it possible to close the connection (without trying to free the
That's not what you want to do. You want to *return* out from the callback and
curl_easy_cleanup() etc should then be used by your app as normally.
-- Commercial curl and libcurl Technical Support: http://haxx.se/curl.htmlReceived on 2006-01-10 These mail archives are generated by hypermail. |
Page updated November 12, 2010.
web site info