#
a607f8a2 |
| 14-Nov-2014 |
Jay Satiro |
examples: Don't call select() to sleep on windows Windows does not support using select() for sleeping without a dummy socket. Instead use Windows' Sleep() and sleep for 100ms which is t
examples: Don't call select() to sleep on windows Windows does not support using select() for sleeping without a dummy socket. Instead use Windows' Sleep() and sleep for 100ms which is the minimum suggested value in the curl_multi_fdset() doc. Prior to this change the multi examples would exit prematurely since select() would error instead of sleeping when called without an fd. Reported-by: Johan Lantz Bug: http://curl.haxx.se/mail/lib-2014-11/0221.html
show more ...
|
Revision tags: curl-7_39_0, curl-7_38_0, curl-7_37_1, curl-7_37_0, curl-7_36_0, curl-7_35_0, curl-7_34_0, curl-7_33_0, curl-7_32_0, curl-7_31_0, curl-7_30_0, curl-7_29_0, curl-7_28_1, curl-7_28_0, curl-7_27_0 |
|
#
4c070de4 |
| 23-Jul-2012 |
Dave Reisner |
examples: use do/while loop for multi examples 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.
examples: use do/while loop for multi examples 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.
show more ...
|
Revision tags: curl-7_26_0, curl-7_25_0, curl-7_24_0, curl-7_23_1, curl-7_23_0, curl-7_22_0, curl-7_21_7, curl-7_21_6, curl-7_21_5 |
|
#
1aeb635c |
| 10-Mar-2011 |
Daniel Stenberg |
sources: update source headers 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 disc
sources: update source headers 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.
show more ...
|
Revision tags: curl-7_21_4 |
|
#
9583b4af |
| 17-Dec-2010 |
Daniel Stenberg |
examples: fix compiler warnings
|
Revision tags: curl-7_21_3, curl-7_21_2 |
|
#
18e7b52e |
| 05-Oct-2010 |
Daniel Stenberg |
examples: use example.com in example URLs
|
#
5fb4279e |
| 30-Sep-2010 |
Dirk Manske |
multi & hiper examples: updates and cleanups all multi and hiper examples: * don't loop curl_multi_perform calls, that was <7.20.0 style, currently the exported multi function
multi & hiper examples: updates and cleanups 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
show more ...
|
Revision tags: curl-7_21_1 |
|
#
bc0699f2 |
| 13-Jul-2010 |
Constantine Sapuntzakis |
examples: add curl_multi_timeout Make the multi-interface using examples use curl_multi_timeout to properly educate users how to do things.
|
Revision tags: curl-7_21_0 |
|
#
d487ade7 |
| 24-Apr-2010 |
Kamil Dudka |
test536: do not fail with threaded DNS resolver Also tweaked comments in certain examples using curl_multi_fdset().
|
Revision tags: curl-7_20_1 |
|
#
2309b4e3 |
| 24-Mar-2010 |
Daniel Stenberg |
remove the CVSish $Id$ lines
|
Revision tags: curl-7_20_0, curl-7_19_7, curl-7_19_6 |
|
#
6582895b |
| 05-Jun-2009 |
Yang Tse |
docs/example patches for VMS
|
Revision tags: curl-7_19_5, curl-7_19_4, curl-7_19_3, curl-7_19_2, curl-7_19_1, curl-7_19_0, curl-7_18_2 |
|
#
e664cd58 |
| 22-May-2008 |
Dan Fandrich |
Fixed a surprising number of example programs that were passing int arguments to curl_easy_setopt instead of long.
|
Revision tags: curl-7_18_1 |
|
#
b12fef3f |
| 27-Feb-2008 |
Daniel Stenberg |
Michal Marek's cleanup of how curl_easy_setopt() is used in examples and test code. Thanks to his curl_easy_setopt() typechecker work...
|
Revision tags: curl-7_18_0, curl-7_17_1, curl-7_17_0, curl-7_17_0-preldapfix, curl-7_16_4, curl-7_16_3, curl-7_16_2, curl-7_16_1, curl-7_16_0 |
|
#
f5334763 |
| 13-Oct-2006 |
Daniel Stenberg |
Added comments about checking return code and the maxfd counter
|
Revision tags: curl-7_15_6-prepipeline, curl-7_15_5, curl-7_15_4, curl-7_15_3, curl-7_15_2, curl-7_15_1, curl-7_15_0, curl-7_14_1, c-ares-1_3_0, curl-7_14_0, curl-7_13_2, curl-7_13_1, before_ftp_statemachine, curl-7_13_0, curl-7_12_3, curl-7_12_2, curl-7_12_1, pre-aifix, curl-7_12_0 |
|
#
1adfe0fe |
| 24-May-2004 |
Daniel Stenberg |
multi interface, debug callback
|