I've used Curl in both C and PHP and was very pleased with it's functionality.  
In addition, I have used it to process single files and an array of files ala 
10_at_a_time.  What I have not been able to do is to call curl so that I can 
download say 4000 images then do a bunch of other non related processing 
[during which processing I am reloading the array] and then to process the 
newly refilled array, even though I follow essentially the same process that 
works with a single file.  In gdb it seems like a pointer failure that occurs 
while processing from as little as 1 and as many as 10 before abending in 
various places.  Here's an example:

*** glibc detected *** ./insertProducts: corrupted double-linked list: 
0x0000000000fb2270 ***

Although I am using a fair number of pointers, I am not doing anything with a 
double-linked list.

Because I have about a thousand lines of C code that needs to process between 
calls to Curl, embedding them within Curl [as I've done on occasion when 
processing 1 at a time] is a bit challenging to implement - not impossible be 
difficult.  So, before I move in that direction I thought I'd ask if there's 
any example code where Curl is called multiple times [and] processes an array 
of url downloads during each iteration.  Again, 1 at a time is not a problem; 
many at a time is. 


Any thoughts would be appreciated.


Phil Welch

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html

Reply via email to