-
- Downloads
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.
Showing
- docs/examples/multi-app.c 2 additions, 2 deletionsdocs/examples/multi-app.c
- docs/examples/multi-debugcallback.c 2 additions, 2 deletionsdocs/examples/multi-debugcallback.c
- docs/examples/multi-double.c 2 additions, 2 deletionsdocs/examples/multi-double.c
- docs/examples/multi-post.c 2 additions, 2 deletionsdocs/examples/multi-post.c
- docs/examples/multi-single.c 2 additions, 2 deletionsdocs/examples/multi-single.c
Please register or sign in to comment