cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Cancel request in process

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 13 Sep 2011 22:24:22 +0200 (CEST)

On Tue, 13 Sep 2011, Oleksiy wrote:

Please don't top-post.

> I find out that this is because I write the code in function. If I
> write all curl code in main - it works fine without errors. But when
> my code is in function in other cpp-file, when the progress_callback
> returns non-zero it crashes. When it return 0 everything is fine.

That indicates a problem in your code. The progress callback is widely used by
users of every imaginable libcurl version without problems.

Can you show us a complete C program source code that we can compile and see
the problem with?

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2011-09-13