1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-22 16:18:48 -05:00
curl/docs/libcurl
Linus Nielsen Feltzing 0f147887b0 Multiple pipelines and limiting the number of connections.
Introducing a number of options to the multi interface that
allows for multiple pipelines to the same host, in order to
optimize the balance between the penalty for opening new
connections and the potential pipelining latency.

Two new options for limiting the number of connections:

CURLMOPT_MAX_HOST_CONNECTIONS - Limits the number of running connections
to the same host. When adding a handle that exceeds this limit,
that handle will be put in a pending state until another handle is
finished, so we can reuse the connection.

CURLMOPT_MAX_TOTAL_CONNECTIONS - Limits the number of connections in total.
When adding a handle that exceeds this limit,
that handle will be put in a pending state until another handle is
finished. The free connection will then be reused, if possible, or
closed if the pending handle can't reuse it.

Several new options for pipelining:

CURLMOPT_MAX_PIPELINE_LENGTH - Limits the pipeling length. If a
pipeline is "full" when a connection is to be reused, a new connection
will be opened if the CURLMOPT_MAX_xxx_CONNECTIONS limits allow it.
If not, the handle will be put in a pending state until a connection is
ready (either free or a pipe got shorter).

CURLMOPT_CONTENT_LENGTH_PENALTY_SIZE - A pipelined connection will not
be reused if it is currently processing a transfer with a content
length that is larger than this.

CURLMOPT_CHUNK_LENGTH_PENALTY_SIZE - A pipelined connection will not
be reused if it is currently processing a chunk larger than this.

CURLMOPT_PIPELINING_SITE_BL - A blacklist of hosts that don't allow
pipelining.

CURLMOPT_PIPELINING_SERVER_BL - A blacklist of server types that don't allow
pipelining.

See the curl_multi_setopt() man page for details.
2013-03-13 23:55:24 +01:00
..
.gitignore IGNORE: files generated by maketgz 2010-04-14 17:34:57 +02:00
ABI Jose Goncalves fixed my crappy spelling! 2009-05-01 20:20:54 +00:00
curl_easy_cleanup.3 curl_easy_cleanup: clarify the callback situation 2011-08-11 14:55:17 +02:00
curl_easy_duphandle.3 source header: added to more files 2011-03-12 00:14:32 +01:00
curl_easy_escape.3 url encode docs: mention '-', '.', '_' and '~' 2011-05-02 11:14:30 +02:00
curl_easy_getinfo.3 docs: fix typos in man pages 2013-01-28 14:22:48 +01:00
curl_easy_init.3 source header: added to more files 2011-03-12 00:14:32 +01:00
curl_easy_pause.3 source header: added to more files 2011-03-12 00:14:32 +01:00
curl_easy_perform.3 source header: added to more files 2011-03-12 00:14:32 +01:00
curl_easy_recv.3 curl_easy_recv.3: document return codes 2013-01-19 22:58:02 +01:00
curl_easy_reset.3 source header: added to more files 2011-03-12 00:14:32 +01:00
curl_easy_send.3 curl_easy_send.3: document return codes 2013-01-19 22:58:56 +01:00
curl_easy_setopt.3 DOCS: Corrected the IMAP URL grammar of the UIDVALIDITY parameter 2013-03-07 20:53:15 +00:00
curl_easy_strerror.3 curl_easy_strerror.3: minor synopsis edit of the look 2012-01-02 16:00:46 +01:00
curl_easy_unescape.3 remove the CVSish $Id$ lines 2010-03-24 11:02:54 +01:00
curl_escape.3 source header: added to more files 2011-03-12 00:14:32 +01:00
curl_formadd.3 curl_formfree: clarify which pointer to free 2011-06-23 09:31:12 +02:00
curl_formfree.3 curl_formfree: clarify which pointer to free 2011-06-23 09:31:12 +02:00
curl_formget.3 curl_formget.3: CURLFORM_STREAM has its drawbacks 2011-06-13 22:03:33 +02:00
curl_free.3 source header: added to more files 2011-03-12 00:14:32 +01:00
curl_getdate.3 source header: added to more files 2011-03-12 00:14:32 +01:00
curl_getenv.3 source header: added to more files 2011-03-12 00:14:32 +01:00
curl_global_cleanup.3 source header: added to more files 2011-03-12 00:14:32 +01:00
curl_global_init_mem.3 docs: fix typos in man pages 2013-01-28 14:22:48 +01:00
curl_global_init.3 curl_global_init: accept the CURL_GLOBAL_ACK_EINTR flag 2013-03-12 10:58:20 +01:00
curl_mprintf.3 source header: added to more files 2011-03-12 00:14:32 +01:00
curl_multi_add_handle.3 source header: added to more files 2011-03-12 00:14:32 +01:00
curl_multi_assign.3 source header: added to more files 2011-03-12 00:14:32 +01:00
curl_multi_cleanup.3 libcurl documentation: clarifications and typos 2013-02-22 23:22:22 +01:00
curl_multi_fdset.3 curl_multi_fdset: clarify the max_fd == -1 case 2011-10-16 23:38:48 +02:00
curl_multi_info_read.3 source header: added to more files 2011-03-12 00:14:32 +01:00
curl_multi_init.3 source header: added to more files 2011-03-12 00:14:32 +01:00
curl_multi_perform.3 curl_multi_perform.3: extended/clarified 2012-08-27 00:16:03 +02:00
curl_multi_remove_handle.3 source header: added to more files 2011-03-12 00:14:32 +01:00
curl_multi_setopt.3 Multiple pipelines and limiting the number of connections. 2013-03-13 23:55:24 +01:00
curl_multi_socket_action.3 libcurl documentation: clarifications and typos 2013-02-22 23:22:22 +01:00
curl_multi_socket_all.3 The inital early embryos to describe the curl_multi_socket() API. Committed 2005-12-22 15:11:11 +00:00
curl_multi_socket.3 source header: added to more files 2011-03-12 00:14:32 +01:00
curl_multi_strerror.3 source header: added to more files 2011-03-12 00:14:32 +01:00
curl_multi_timeout.3 libcurl documentation: clarifications and typos 2013-02-22 23:22:22 +01:00
curl_multi_wait.3 curl_multi_wait: no wait if no descriptors to wait for 2012-10-09 22:19:49 +02:00
curl_share_cleanup.3 source header: added to more files 2011-03-12 00:14:32 +01:00
curl_share_init.3 source header: added to more files 2011-03-12 00:14:32 +01:00
curl_share_setopt.3 Fixed some typos in documentation 2012-07-20 21:02:58 +02:00
curl_share_strerror.3 source header: added to more files 2011-03-12 00:14:32 +01:00
curl_slist_append.3 source header: added to more files 2011-03-12 00:14:32 +01:00
curl_slist_free_all.3 source header: added to more files 2011-03-12 00:14:32 +01:00
curl_strequal.3 source header: added to more files 2011-03-12 00:14:32 +01:00
curl_strnequal.3 prepend the man3 dir to the file name to work better. 2004-04-02 11:04:34 +00:00
curl_unescape.3 source header: added to more files 2011-03-12 00:14:32 +01:00
curl_version_info.3 Document NTLM winbind options (and caveats) 2011-09-12 14:45:37 -07:00
curl_version.3 libcurl documentation: clarifications and typos 2013-02-22 23:22:22 +01:00
getinfo-times first rough version 2005-06-03 21:38:40 +00:00
index.html libcurl documentation: updates HTML index 2013-02-22 23:22:21 +01:00
libcurl-easy.3 source header: added to more files 2011-03-12 00:14:32 +01:00
libcurl-errors.3 Multiple pipelines and limiting the number of connections. 2013-03-13 23:55:24 +01:00
libcurl-multi.3 libcurl-multi.3: active FTP is no longer blocking! 2011-12-20 20:32:31 +01:00
libcurl-share.3 libcurl-share.3: remove wrong info of what can be shared 2012-08-27 23:51:40 +02:00
libcurl-tutorial.3 docs: schannel and darwinssl documentation improvements 2013-02-18 16:27:30 -07:00
libcurl.3 source header: added to more files 2011-03-12 00:14:32 +01:00
libcurl.m4 libcurl.m4: Fix quoting arguments of AC_LANG_PROGRAM 2011-12-20 13:35:27 +01:00
Makefile.am Manpage for curl_multi_wait(). 2012-09-01 23:19:40 +02:00
symbols-in-versions Multiple pipelines and limiting the number of connections. 2013-03-13 23:55:24 +01:00
symbols.pl symbols.pl: provide LIBCURL_HAS macro for apps 2011-11-24 22:56:39 +01:00