1
0
mirror of https://github.com/moparisthebest/curl synced 2025-01-04 10:28:08 -05:00
curl/tests/libtest
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 Multiple pipelines and limiting the number of connections. 2013-03-13 23:55:24 +01:00
chkhostname.c build: fix circular header inclusion with other packages 2013-01-09 00:49:50 +01:00
CMakeLists.txt build: fix circular header inclusion with other packages 2013-01-09 00:49:50 +01:00
first.c Revert changes relative to lib/*.[ch] recent renaming 2013-01-06 18:20:27 +01:00
lib500.c Revert changes relative to lib/*.[ch] recent renaming 2013-01-06 18:20:27 +01:00
lib501.c Revert changes relative to lib/*.[ch] recent renaming 2013-01-06 18:20:27 +01:00
lib502.c Revert changes relative to lib/*.[ch] recent renaming 2013-01-06 18:20:27 +01:00
lib503.c Revert changes relative to lib/*.[ch] recent renaming 2013-01-06 18:20:27 +01:00
lib504.c Revert changes relative to lib/*.[ch] recent renaming 2013-01-06 18:20:27 +01:00
lib505.c Revert changes relative to lib/*.[ch] recent renaming 2013-01-06 18:20:27 +01:00
lib506.c Revert changes relative to lib/*.[ch] recent renaming 2013-01-06 18:20:27 +01:00
lib507.c Revert changes relative to lib/*.[ch] recent renaming 2013-01-06 18:20:27 +01:00
lib508.c Revert changes relative to lib/*.[ch] recent renaming 2013-01-06 18:20:27 +01:00
lib509.c test509: libcurl initialization with memory callbacks and actual usage 2013-03-13 21:50:40 +01:00
lib510.c Revert changes relative to lib/*.[ch] recent renaming 2013-01-06 18:20:27 +01:00
lib511.c Revert changes relative to lib/*.[ch] recent renaming 2013-01-06 18:20:27 +01:00
lib512.c Revert changes relative to lib/*.[ch] recent renaming 2013-01-06 18:20:27 +01:00
lib513.c Revert changes relative to lib/*.[ch] recent renaming 2013-01-06 18:20:27 +01:00
lib514.c Revert changes relative to lib/*.[ch] recent renaming 2013-01-06 18:20:27 +01:00
lib515.c Revert changes relative to lib/*.[ch] recent renaming 2013-01-06 18:20:27 +01:00
lib516.c Revert changes relative to lib/*.[ch] recent renaming 2013-01-06 18:20:27 +01:00
lib517.c Revert changes relative to lib/*.[ch] recent renaming 2013-01-06 18:20:27 +01:00
lib518.c Revert changes relative to lib/*.[ch] recent renaming 2013-01-06 18:20:27 +01:00
lib519.c Revert changes relative to lib/*.[ch] recent renaming 2013-01-06 18:20:27 +01:00
lib520.c Revert changes relative to lib/*.[ch] recent renaming 2013-01-06 18:20:27 +01:00
lib521.c Revert changes relative to lib/*.[ch] recent renaming 2013-01-06 18:20:27 +01:00
lib523.c Revert changes relative to lib/*.[ch] recent renaming 2013-01-06 18:20:27 +01:00
lib524.c Revert changes relative to lib/*.[ch] recent renaming 2013-01-06 18:20:27 +01:00
lib525.c Revert changes relative to lib/*.[ch] recent renaming 2013-01-06 18:20:27 +01:00
lib526.c Revert changes relative to lib/*.[ch] recent renaming 2013-01-06 18:20:27 +01:00
lib530.c Multiple pipelines and limiting the number of connections. 2013-03-13 23:55:24 +01:00
lib533.c Revert changes relative to lib/*.[ch] recent renaming 2013-01-06 18:20:27 +01:00
lib536.c Revert changes relative to lib/*.[ch] recent renaming 2013-01-06 18:20:27 +01:00
lib537.c always-multi: always use non-blocking internals 2013-01-17 19:40:35 +01:00
lib539.c Revert changes relative to lib/*.[ch] recent renaming 2013-01-06 18:20:27 +01:00
lib540.c Revert changes relative to lib/*.[ch] recent renaming 2013-01-06 18:20:27 +01:00
lib541.c Revert changes relative to lib/*.[ch] recent renaming 2013-01-06 18:20:27 +01:00
lib542.c Revert changes relative to lib/*.[ch] recent renaming 2013-01-06 18:20:27 +01:00
lib543.c Revert changes relative to lib/*.[ch] recent renaming 2013-01-06 18:20:27 +01:00
lib544.c Revert changes relative to lib/*.[ch] recent renaming 2013-01-06 18:20:27 +01:00
lib547.c Revert changes relative to lib/*.[ch] recent renaming 2013-01-06 18:20:27 +01:00
lib549.c Revert changes relative to lib/*.[ch] recent renaming 2013-01-06 18:20:27 +01:00
lib552.c Revert changes relative to lib/*.[ch] recent renaming 2013-01-06 18:20:27 +01:00
lib553.c Revert changes relative to lib/*.[ch] recent renaming 2013-01-06 18:20:27 +01:00
lib554.c Revert changes relative to lib/*.[ch] recent renaming 2013-01-06 18:20:27 +01:00
lib555.c Revert changes relative to lib/*.[ch] recent renaming 2013-01-06 18:20:27 +01:00
lib556.c Revert changes relative to lib/*.[ch] recent renaming 2013-01-06 18:20:27 +01:00
lib557.c Revert changes relative to lib/*.[ch] recent renaming 2013-01-06 18:20:27 +01:00
lib560.c Revert changes relative to lib/*.[ch] recent renaming 2013-01-06 18:20:27 +01:00
lib562.c Revert changes relative to lib/*.[ch] recent renaming 2013-01-06 18:20:27 +01:00
lib564.c Revert changes relative to lib/*.[ch] recent renaming 2013-01-06 18:20:27 +01:00
lib566.c Revert changes relative to lib/*.[ch] recent renaming 2013-01-06 18:20:27 +01:00
lib567.c Revert changes relative to lib/*.[ch] recent renaming 2013-01-06 18:20:27 +01:00
lib568.c Revert changes relative to lib/*.[ch] recent renaming 2013-01-06 18:20:27 +01:00
lib569.c Revert changes relative to lib/*.[ch] recent renaming 2013-01-06 18:20:27 +01:00
lib570.c Revert changes relative to lib/*.[ch] recent renaming 2013-01-06 18:20:27 +01:00
lib571.c Revert changes relative to lib/*.[ch] recent renaming 2013-01-06 18:20:27 +01:00
lib572.c Revert changes relative to lib/*.[ch] recent renaming 2013-01-06 18:20:27 +01:00
lib573.c Revert changes relative to lib/*.[ch] recent renaming 2013-01-06 18:20:27 +01:00
lib574.c Revert changes relative to lib/*.[ch] recent renaming 2013-01-06 18:20:27 +01:00
lib575.c Revert changes relative to lib/*.[ch] recent renaming 2013-01-06 18:20:27 +01:00
lib576.c Revert changes relative to lib/*.[ch] recent renaming 2013-01-06 18:20:27 +01:00
lib578.c Revert changes relative to lib/*.[ch] recent renaming 2013-01-06 18:20:27 +01:00
lib579.c Revert changes relative to lib/*.[ch] recent renaming 2013-01-06 18:20:27 +01:00
lib582.c Revert changes relative to lib/*.[ch] recent renaming 2013-01-06 18:20:27 +01:00
lib583.c Revert changes relative to lib/*.[ch] recent renaming 2013-01-06 18:20:27 +01:00
lib586.c Revert changes relative to lib/*.[ch] recent renaming 2013-01-06 18:20:27 +01:00
lib590.c Revert changes relative to lib/*.[ch] recent renaming 2013-01-06 18:20:27 +01:00
lib591.c Revert changes relative to lib/*.[ch] recent renaming 2013-01-06 18:20:27 +01:00
lib597.c Revert changes relative to lib/*.[ch] recent renaming 2013-01-06 18:20:27 +01:00
lib598.c Revert changes relative to lib/*.[ch] recent renaming 2013-01-06 18:20:27 +01:00
lib599.c Revert changes relative to lib/*.[ch] recent renaming 2013-01-06 18:20:27 +01:00
lib1500.c Revert changes relative to lib/*.[ch] recent renaming 2013-01-06 18:20:27 +01:00
lib1501.c Revert changes relative to lib/*.[ch] recent renaming 2013-01-06 18:20:27 +01:00
lib1502.c Revert changes relative to lib/*.[ch] recent renaming 2013-01-06 18:20:27 +01:00
lib1506.c CURLMOPT_MAXCONNECTS: restore functionality 2013-02-05 09:17:52 +01:00
lib1507.c DONE: consider callback-aborted transfers premature 2013-02-08 13:57:01 +01:00
lib1508.c Fix NULL pointer reference when closing an unused multi handle. 2013-02-10 22:57:58 +01:00
lib1900.c Multiple pipelines and limiting the number of connections. 2013-03-13 23:55:24 +01:00
libauthretry.c Revert changes relative to lib/*.[ch] recent renaming 2013-01-06 18:20:27 +01:00
libntlmconnect.c Multiple pipelines and limiting the number of connections. 2013-03-13 23:55:24 +01:00
Makefile.am curl.h: stricter CURL_EXTERN linkage decorations logic 2013-03-12 00:27:47 +01:00
Makefile.inc Multiple pipelines and limiting the number of connections. 2013-03-13 23:55:24 +01:00
notexists.pl tests 1334 to 1363 revisited. 2012-06-05 20:20:40 +02:00
sethostname.c build: fix circular header inclusion with other packages 2013-01-09 00:49:50 +01:00
sethostname.h curl.h: stricter CURL_EXTERN linkage decorations logic 2013-03-12 00:27:47 +01:00
test75.pl replaced tabs with spaces 2010-02-16 13:32:45 +00:00
test307.pl replaced tabs with spaces 2010-02-16 13:32:45 +00:00
test610.pl replaced tabs with spaces 2010-02-16 13:32:45 +00:00
test613.pl replaced tabs with spaces 2010-02-16 13:32:45 +00:00
test1013.pl Fixed CR issue with Win32 version on MSYS. 2012-07-20 17:22:10 +02:00
test1022.pl Fixed test 1023 when using daily snapshots 2011-04-21 14:47:35 -07:00
test.h build: fix circular header inclusion with other packages 2013-01-09 00:49:50 +01:00
testtrace.c Revert changes relative to lib/*.[ch] recent renaming 2013-01-06 18:20:27 +01:00
testtrace.h tests: testtrace.[ch] provides debug callback for libtest usage 2012-01-17 21:32:05 +01:00
testutil.c build: fix circular header inclusion with other packages 2013-01-09 00:49:50 +01:00
testutil.h build: fix circular header inclusion with other packages 2013-01-09 00:49:50 +01:00