aboutsummaryrefslogtreecommitdiff
path: root/docs/examples/multi-app.c
AgeCommit message (Collapse)Author
2012-08-27examples: use do/while loop for multi examplesDave Reisner
It's conceivable that after the first time curl_multi_perform returns, the outvalue still_running will be 0, but work will have been done. This is shown by a workload of small, purely file:// based URLs. Ensure that we always read pending messages off the multi handle by forcing the while loop to run at least once.
2011-03-10sources: update source headersDaniel Stenberg
All C and H files now (should) feature the proper project curl source code header, which includes basic info, a copyright statement and some basic disclaimers.
2010-12-17examples: fix compiler warningsDaniel Stenberg
2010-11-04multi use: call multi_perform even on select() timeoutsDaniel Stenberg
2010-10-05examples: use example.com in example URLsDaniel Stenberg
2010-09-30multi & hiper examples: updates and cleanupsDirk Manske
all multi and hiper examples: * don't loop curl_multi_perform calls, that was <7.20.0 style, currently the exported multi functions will not return CURLM_CALL_MULTI_PERFORM all hiper examples: * renamed check_run_count to check_multi_info * don't compare current running handle count with previous value, this was the wrong way to check for finished requests, simply call curl_multi_info_read * it's also safe to call curl_multi_remove_handle inside the curl_multi_info_read loop. ghiper.c: * replaced curl_multi_socket (that function is marked as obsolete) calls with curl_multi_socket_action calls (as in hiperfifo.c and evhiperfifo.c) ghiper.c and evhiperfifo.c: * be smart as hiperfifo.c, don't do uncessary curl_multi_* calls in new_conn and main
2010-07-14examples: add curl_multi_timeoutConstantine Sapuntzakis
Make the multi-interface using examples use curl_multi_timeout to properly educate users how to do things.
2010-04-24test536: do not fail with threaded DNS resolverKamil Dudka
Also tweaked comments in certain examples using curl_multi_fdset().
2010-03-24remove the CVSish $Id$ linesDaniel Stenberg
2010-01-21Yun Fu pointed out a flaw in the loop that checks handles, and I indentedDaniel Stenberg
the code more curl-style
2008-05-22Fixed a surprising number of example programs that were passing int argumentsDan Fandrich
to curl_easy_setopt instead of long.
2007-07-12Fixed some compile warnings and errors and improved portability in theDan Fandrich
examples. Removed ftp3rdparty.c since libcurl doesn't support 3rd party FTP transfers any longer.
2006-10-13Added comments about checking return code and the maxfd counterDaniel Stenberg
2004-10-06*** empty log message ***Gisle Vanem
2004-10-06removed tabs and trailing whitespace from sourceDaniel Stenberg
2003-08-28Henrik Storner's rewrite that includes a nice usage of curl_multi_info_read()Daniel Stenberg
2003-01-09fixDaniel Stenberg
2002-03-19fixed include and added headerDaniel Stenberg
2002-03-04multi interface using examplesDaniel Stenberg