curl-library
About multi interface
Date: Thu, 16 Aug 2012 14:55:34 +0800
Hi, Everybody,
I'm testing the multi interface and write a simple test program based on multi-app.c. The test program try to access 3 web sites in parallel, and each site will be accessed 10 times.
To limit the connections and handles num, only three handles being pushed into mutli stack, and after each handle finished one access, it will be removed from the multi stack then be pushed again(So we have chance to change the url, but it's not the condition of the test prorgam).
During testing, i found that if 2 handles finished all its works(10 access), the last handle will not be processed correctly, curl_multi_info_read can not read the msg of the last handle.
Attached is the code.
Any help will be appreciated. Thanks very much.
Sorry, last mail i forgot the code.
Sorry again, the code of last mail is wrong.
2012-08-16
Ning Dong
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
- application/octet-stream attachment: main.cpp