curl/lib
2010-10-13 17:29:47 +02:00
..
.gitignore gitignore: ignore Makefile.vc10.dist made by maketgz 2010-10-13 00:26:19 +02:00
amigaos.c
amigaos.h
arpa_telnet.h
base64.c
CMakeLists.txt
config-amigaos.h
config-mac.h
config-os400.h
config-riscos.h
config-symbian.h Enable OpenLDAP support for cygwin builds. 2010-06-04 15:14:31 +02:00
config-tpf.h
config-vxworks.h Enable OpenLDAP support for cygwin builds. 2010-06-04 15:14:31 +02:00
config-win32.h Moved S_ISREG define to setup as suggested by Dan. 2010-09-02 04:37:13 +02:00
config-win32ce.h Enable OpenLDAP support for cygwin builds. 2010-06-04 15:14:31 +02:00
config.dos
connect.c Curl_timeleft: avoid returning "no timeout" by mistake 2010-09-17 22:58:08 +02:00
connect.h portabilty: use proper variable type to hold sockets 2010-09-06 00:02:54 +02:00
content_encoding.c inflate_stream: remove redundant check that is always true 2010-09-12 16:34:16 +02:00
content_encoding.h
cookie.c
cookie.h
curl_addrinfo.c warning: silence a win64 compiler warning 2010-07-30 23:19:47 +02:00
curl_addrinfo.h
curl_base64.h
curl_config.h.cmake Enable OpenLDAP support for cygwin builds. 2010-06-04 15:14:31 +02:00
curl_fnmatch.c replace isprint() with ISPRINT() 2010-06-10 02:33:45 +02:00
curl_fnmatch.h
curl_gethostname.c build: allow NTLM tests to run on more build configurations 2010-08-07 15:03:54 +02:00
curl_gethostname.h build: allow NTLM tests to run on more build configurations 2010-08-07 15:03:54 +02:00
curl_hmac.h include libcurl standard internal headers 2010-06-02 14:13:02 +02:00
curl_ldap.h fix ldap related compilation issues 2010-06-01 17:25:03 +02:00
curl_md4.h http_ntlm: add support for NSS 2010-06-30 13:12:25 +02:00
curl_md5.h
curl_memory.h
curl_memrchr.c
curl_memrchr.h
curl_rand.c
curl_rand.h
curl_rtmp.c include libcurl standard internal headers 2010-06-02 14:13:02 +02:00
curl_rtmp.h include libcurl standard internal headers 2010-06-02 14:13:02 +02:00
curl_sspi.c Use own typedef as workaround for broken sspi.h header (f.e. Watcom). 2010-09-02 00:38:16 +02:00
curl_sspi.h
curl_threads.c
curl_threads.h
curlx.h
dict.c
dict.h
easy.c duphandle: use ares_dup() 2010-09-21 16:41:14 +02:00
easyif.h
escape.c curl_easy_escape: don't escape "unreserved" characters 2010-09-28 23:49:32 +02:00
escape.h
file.c
file.h
fileinfo.c include libcurl standard internal headers 2010-06-02 14:13:02 +02:00
fileinfo.h include libcurl standard internal headers 2010-06-02 14:13:02 +02:00
firefox-db2pem.sh
formdata.c
formdata.h
ftp.c krb5-gssapi: Delete the GSS-API context. 2010-10-02 10:00:42 -07:00
ftp.h
ftplistparser.c ftp wildcard: FTP LIST parser FIX 2010-06-24 23:45:44 +02:00
ftplistparser.h add Curl_ prefix to conform with cURL naming standards 2010-06-09 15:45:46 +02:00
getenv.c
getinfo.c portabilty: use proper variable type to hold sockets 2010-09-06 00:02:54 +02:00
getinfo.h
gopher.c warning: fix conversion to 'int' from 'size_t' 2010-09-06 00:18:58 +02:00
gopher.h Gopher protocol support (initial release) 2010-08-25 14:19:58 +02:00
gtls.c
gtls.h
hash.c
hash.h
hmac.c include libcurl standard internal headers 2010-06-02 14:13:02 +02:00
hostares.c
hostasyn.c
hostip4.c
hostip6.c
hostip.c
hostip.h
hostsyn.c
hostthre.c threaded resolver: no more expire 0 calls 2010-09-01 16:47:42 +02:00
http_chunks.c http: handle trailer headers in all chunked responses 2010-08-25 13:42:14 +02:00
http_chunks.h
http_digest.c digest: make it clear the condition is always true 2010-09-12 16:29:05 +02:00
http_digest.h
http_negotiate.c negotiation: Wrong proxy authorization 2010-08-16 22:26:52 +02:00
http_negotiate.h
http_ntlm.c NTLM tests: boost coverage by forcing the hostname 2010-07-30 00:51:24 +02:00
http_ntlm.h
http.c HTTP: remove special case for 416 2010-10-02 00:22:48 +02:00
http.h add_buffer_send: fix compiler warning 2010-07-24 22:52:35 +02:00
if2ip.c
if2ip.h
imap.c
imap.h
inet_ntop.c
inet_ntop.h
inet_pton.c inet_pton: warnings: use size_t to store pointer deltas 2010-06-08 23:09:42 +02:00
inet_pton.h
krb4.c
krb4.h security.c: Remove Curl_sec_fflush_fd. 2010-09-28 22:05:24 -07:00
krb5.c krb5-gssapi: Removed a memory leak in krb5_auth. 2010-10-02 10:00:42 -07:00
ldap.c Enable OpenLDAP support for cygwin builds. 2010-06-04 15:14:31 +02:00
libcurl.def
libcurl.imp
libcurl.plist
libcurl.rc
llist.c Curl_llist_insert_next: allow insertion first in the list 2010-08-15 13:16:39 +02:00
llist.h llist: hide Curl_llist_init 2010-08-10 11:07:38 +02:00
Makefile.am Added mk-ca-bundle.vbs script. 2010-08-20 03:02:49 +02:00
makefile.amiga Include Makefile.inc to get the list of source files for Amiga 2010-06-07 14:00:16 -07:00
Makefile.b32
makefile.dj
Makefile.inc Forgot gopher.h in Makefile.inc 2010-08-25 14:19:58 +02:00
Makefile.m32 Added build bits for librtmp to MingW32 makefiles. 2010-10-11 00:39:24 +02:00
Makefile.netware Added build bits for librtmp to NetWare makefiles. 2010-10-12 04:31:56 +02:00
Makefile.riscos Makefile: add gopher.c file to build 2010-08-25 15:56:35 +02:00
Makefile.vc6 Makefile: add gopher.c file to build 2010-08-25 15:56:35 +02:00
Makefile.vxworks
Makefile.Watcom Modified Watcom makefiles to work on Linux too. 2010-10-13 17:29:47 +02:00
md4.c build: remove unneeded cast to (void *) 2010-08-04 19:05:09 +02:00
md5.c build: remove unneeded cast to (void *) 2010-08-04 19:05:09 +02:00
memdebug.c
memdebug.h
mk-ca-bundle.pl Fixed script version which was still based on CVS Revision tag. 2010-07-22 04:29:54 +02:00
mk-ca-bundle.vbs Added mk-ca-bundle.vbs script. 2010-08-20 03:02:49 +02:00
mprintf.c
msvcproj.foot
msvcproj.head
multi.c multi: don't expire timeouts at disonnect or done 2010-09-28 23:49:32 +02:00
multiif.h multi: support timeouts 2010-08-15 13:16:39 +02:00
netrc.c
netrc.h
nonblock.c
nonblock.h
nss.c http_ntlm: add support for NSS 2010-06-30 13:12:25 +02:00
nssg.h http_ntlm: add support for NSS 2010-06-30 13:12:25 +02:00
nwlib.c
nwos.c
openldap.c LDAP: moved variable declaration to avoid compiler warn 2010-09-18 22:50:04 +02:00
parsedate.c parsedate: allow time specified without seconds 2010-09-27 16:54:02 +02:00
parsedate.h
pingpong.c build: add typecast to avoid warning 2010-08-02 18:53:34 +02:00
pingpong.h pingpong: response_time is milliseconds 2010-07-18 00:49:29 +02:00
polarssl.c
polarssl.h include libcurl standard internal headers 2010-06-02 14:13:02 +02:00
pop3.c
pop3.h
progress.c
progress.h
qssl.c
qssl.h
rawstr.c
rawstr.h
README.ares README.ares: we know require c-ares 1.6.0 2010-09-30 23:14:58 +02:00
README.curl_off_t
README.curlx
README.encoding
README.hostip
README.httpauth
README.memoryleak
README.multi_socket
README.pingpong
README.pipelining
rtsp.c rtsp: avoid SIGSEGV on malformed header 2010-09-06 16:03:37 +02:00
rtsp.h
security.c krb5-gssapi: Remove several memory leaks. 2010-09-28 22:05:24 -07:00
select.c
select.h
sendf.c sendrecv: treat all negative values from send/recv as errors 2010-06-19 00:18:14 +02:00
sendf.h
setup_once.h update year in copyright notice 2010-05-31 13:51:29 +02:00
setup-os400.h
setup.h Moved S_ISREG define to setup as suggested by Dan. 2010-09-02 04:37:13 +02:00
share.c
share.h
slist.c
slist.h
smtp.c SMTP: debug output for no known auth mechanisms supported 2010-10-11 21:31:12 +02:00
smtp.h
sockaddr.h
socks_gssapi.c
socks_sspi.c
socks.c fix compiler warning: enumerated type mixed with another type 2010-05-31 16:36:05 +02:00
socks.h
speedcheck.c
speedcheck.h
splay.c
splay.h
ssh.c SFTP: more ignoring negative file sizes 2010-10-12 00:01:40 +02:00
ssh.h build: fix libssh2_scp_send64() availability 2010-08-05 16:27:39 +02:00
sslgen.c
sslgen.h
ssluse.c ssluse: removed redundant check that is always true 2010-09-12 16:29:04 +02:00
ssluse.h
strdup.c
strdup.h
strequal.c
strequal.h
strerror.c
strerror.h
strtok.c
strtok.h
strtoofft.c strtoofft: rename CURL_LLONG_MIN -> CURL_OFF_T_MIN 2010-05-29 21:28:16 +02:00
strtoofft.h strtoofft: rename CURL_LLONG_MIN -> CURL_OFF_T_MIN 2010-05-29 21:28:16 +02:00
telnet.c
telnet.h
tftp.c TFTP: re-indented the source code 2010-09-26 23:38:00 +02:00
tftp.h
timeval.c
timeval.h
transfer.c timeout: use the correct start value as offset 2010-09-17 23:02:33 +02:00
transfer.h
url.c multi: don't expire timeouts at disonnect or done 2010-09-28 23:49:32 +02:00
url.h
urldata.h security.c: Remove out_buffer as it was never written into. 2010-09-22 23:34:36 +02:00
vc6libcurl.dsw
vc8proj.foot
vc8proj.head
version.c Gopher protocol support (initial release) 2010-08-25 14:19:58 +02:00
warnless.c
warnless.h
wildcard.c ensure that Curl_wildcard_dtor() leaves WildcardData struct zero initialized 2010-06-10 02:30:23 +02:00
wildcard.h include libcurl standard internal headers 2010-06-02 14:13:02 +02:00

HTTP Pipelining with libcurl
============================

Background

Since pipelining implies that one or more requests are sent to a server before
the previous response(s) have been received, we only support it for multi
interface use.

Considerations

When using the multi interface, you create one easy handle for each transfer.
Bascially any number of handles can be created, added and used with the multi
interface - simultaneously. It is an interface designed to allow many
simultaneous transfers while still using a single thread. Pipelining does not
change any of these details.

API

We've added a new option to curl_multi_setopt() called CURLMOPT_PIPELINING
that enables "attempted pipelining" and then all easy handles used on that
handle will attempt to use an existing pipeline.

Details

- A pipeline is only created if a previous connection exists to the same IP
  address that the new request is being made to use.

- Pipelines are only supported for HTTP(S) as no other currently supported
  protocol has features resemembling this, but we still name this feature
  plain 'pipelining' to possibly one day support it for other protocols as
  well.

- HTTP Pipelining is for GET and HEAD requests only.

- When a pipeline is in use, we must take precautions so that when used easy
  handles (i.e those who still wait for a response) are removed from the multi
  handle, we must deal with the outstanding response nicely.

- Explicitly asking for pipelining handle X and handle Y won't be supported.
  It isn't easy for an app to do this association. The lib should probably
  still resolve the second one properly to make sure that they actually _can_
  be considered for pipelining. Also, asking for explicit pipelining on handle
  X may be tricky when handle X get a closed connection.

- We need options to control max pipeline length, and probably how to behave
  if we reach that limit. As was discussed on the list, it can probably be
  made very complicated, so perhaps we can think of a way to pass all
  variables involved to a callback and let the application decide how to act
  in specific situations. Either way, these fancy options are only interesting
  to work on when everything is working and we have working apps to test with.