-
- Downloads
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
Showing
- docs/examples/10-at-a-time.c 1 addition, 1 deletiondocs/examples/10-at-a-time.c
- docs/examples/evhiperfifo.c 34 additions, 64 deletionsdocs/examples/evhiperfifo.c
- docs/examples/fopen.c 2 additions, 8 deletionsdocs/examples/fopen.c
- docs/examples/ghiper.c 41 additions, 62 deletionsdocs/examples/ghiper.c
- docs/examples/hiperfifo.c 28 additions, 50 deletionsdocs/examples/hiperfifo.c
- docs/examples/multi-app.c 2 additions, 4 deletionsdocs/examples/multi-app.c
- docs/examples/multi-debugcallback.c 2 additions, 4 deletionsdocs/examples/multi-debugcallback.c
- docs/examples/multi-double.c 2 additions, 4 deletionsdocs/examples/multi-double.c
- docs/examples/multi-post.c 2 additions, 4 deletionsdocs/examples/multi-post.c
- docs/examples/multi-single.c 2 additions, 4 deletionsdocs/examples/multi-single.c
Loading
Please register or sign in to comment