mirror of
https://github.com/moparisthebest/curl
synced 2024-11-16 06:25:03 -05:00
02346abc32
Repeatedly we see problems where using curl_multi_wait() is difficult or just awkward because if it has no file descriptor to wait for internally, it returns immediately and leaves it to the caller to wait for a small amount of time in order to avoid occasional busy-looping. This is often missed or misunderstood, leading to underperforming applications. This change introduces curl_multi_poll() as a replacement drop-in function that accepts the exact same set of arguments. This function works identically to curl_multi_wait() - EXCEPT - for the case when there's nothing to wait for internally, as then this function will by itself wait for a "suitable" short time before it returns. This effectiely avoids all risks of busy-looping and should also make it less likely that apps "over-wait". This also changes the curl tool to use this funtion internally when doing parallel transfers and changes curl_easy_perform() to use it internally. Closes #4163
85 lines
1.8 KiB
Makefile
85 lines
1.8 KiB
Makefile
# Shared between Makefile.am and CMakeLists.txt
|
|
|
|
man_MANS = \
|
|
curl_easy_cleanup.3 \
|
|
curl_easy_duphandle.3 \
|
|
curl_easy_escape.3 \
|
|
curl_easy_getinfo.3 \
|
|
curl_easy_init.3 \
|
|
curl_easy_pause.3 \
|
|
curl_easy_perform.3 \
|
|
curl_easy_recv.3 \
|
|
curl_easy_reset.3 \
|
|
curl_easy_send.3 \
|
|
curl_easy_setopt.3 \
|
|
curl_easy_strerror.3 \
|
|
curl_easy_unescape.3 \
|
|
curl_easy_upkeep.3 \
|
|
curl_escape.3 \
|
|
curl_formadd.3 \
|
|
curl_formfree.3 \
|
|
curl_formget.3 \
|
|
curl_free.3 \
|
|
curl_getdate.3 \
|
|
curl_getenv.3 \
|
|
curl_global_cleanup.3 \
|
|
curl_global_init.3 \
|
|
curl_global_init_mem.3 \
|
|
curl_global_sslset.3 \
|
|
curl_mime_addpart.3 \
|
|
curl_mime_data.3 \
|
|
curl_mime_data_cb.3 \
|
|
curl_mime_encoder.3 \
|
|
curl_mime_filedata.3 \
|
|
curl_mime_filename.3 \
|
|
curl_mime_free.3 \
|
|
curl_mime_headers.3 \
|
|
curl_mime_init.3 \
|
|
curl_mime_name.3 \
|
|
curl_mime_subparts.3 \
|
|
curl_mime_type.3 \
|
|
curl_mprintf.3 \
|
|
curl_multi_add_handle.3 \
|
|
curl_multi_assign.3 \
|
|
curl_multi_cleanup.3 \
|
|
curl_multi_fdset.3 \
|
|
curl_multi_info_read.3 \
|
|
curl_multi_init.3 \
|
|
curl_multi_perform.3 \
|
|
curl_multi_poll.3 \
|
|
curl_multi_remove_handle.3 \
|
|
curl_multi_setopt.3 \
|
|
curl_multi_socket.3 \
|
|
curl_multi_socket_action.3 \
|
|
curl_multi_socket_all.3 \
|
|
curl_multi_strerror.3 \
|
|
curl_multi_timeout.3 \
|
|
curl_multi_wait.3 \
|
|
curl_share_cleanup.3 \
|
|
curl_share_init.3 \
|
|
curl_share_setopt.3 \
|
|
curl_share_strerror.3 \
|
|
curl_slist_append.3 \
|
|
curl_slist_free_all.3 \
|
|
curl_strequal.3 \
|
|
curl_strnequal.3 \
|
|
curl_unescape.3 \
|
|
curl_url.3 \
|
|
curl_url_cleanup.3 \
|
|
curl_url_dup.3 \
|
|
curl_url_get.3 \
|
|
curl_url_set.3 \
|
|
curl_version.3 \
|
|
curl_version_info.3 \
|
|
libcurl-easy.3 \
|
|
libcurl-env.3 \
|
|
libcurl-errors.3 \
|
|
libcurl-multi.3 \
|
|
libcurl-security.3 \
|
|
libcurl-share.3 \
|
|
libcurl-symbols.3 \
|
|
libcurl-thread.3 \
|
|
libcurl-tutorial.3 \
|
|
libcurl-url.3 \
|
|
libcurl.3
|