cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Cancel request in process

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 14 Sep 2011 13:59:36 +0200 (CEST)

On Wed, 14 Sep 2011, Oleksiy wrote:

Again, please don't top-post. Your mails already look weird with that funny
indentation on each line, so it doesn't help when you confuse things even
more.

Please make an effort to make your mails readable. There are more than 1100
subscribers of this mailing list that receive every single mail posted here.

> It is here -
> http://stackoverflow.com/questions/7400127/libcurl-cancel-request-while-proceed/7401680

That's not a C program, that's a C++ program. I wanted to avoid C++ since the
++'isms in there are often reasons for extra problems.

That code however immediately shows that you're using 'resp' unitialized with
no doubt undefined consequences. I recommend you use valgrind and fix your own
bugs before you report bugs to us.

I also suspect that the crash you're seeing can easily be tracked with a
debugger and then seen to occur in your code and not in libcurl code. If you
still claim the bug occurs in libcurl, then please tell me on which line and
source code it happens.

-- 
  / 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-14