cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-users Mailing List Archives

Difficulty in using curl

From: Yogesh Roy <yogeshroy1_at_gmail.com>
Date: Thu, 1 Jan 2009 19:38:05 +0530

i am using curl command line tool.as i am not much proficient in c or
c++ i converted command line curl into a static library with both
libcurl and curl statically linked with msvcrt and defined a new
function "MyFunc" with the same prototype of int main in main.c. when
i use this static curl in my application and use MyFunc for
downloading a file either sequentially or multithreaded, the first
file downloads fine but then the library gets into an infinite loop in
the function "static struct curl_slist *slist_get_last(struct
curl_slist *list)" in sendf.c where item->next point to the same item
as item itself. also sometimes memory corruption is present.i cant
figure out what is wrong, please help.
 am using VS 2005 SP1 for building both curl static lib and libcurl
-------------------------------------------------------------------
List admin: http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2009-01-01

These mail archives are generated by hypermail.

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

File upload with ASP.NET