curl/lib
2008-12-22 13:12:36 +00:00
..
.cvsignore
amigaos.c
amigaos.h
arpa_telnet.h
base64.c
config-amigaos.h
config-mac.h
config-os400.h _ Use getaddrinfo/getnameinfo ascii wrappers on OS400. 2008-12-11 19:20:03 +00:00
config-riscos.h the IP address we want/request/use from the interface is the 'local' 2008-11-17 19:08:35 +00:00
config-symbian.h
config-tpf.h
config-win32.h Added the use of Watt-32 tcp/ip stack for Win32 targets. 2008-12-16 08:25:55 +00:00
config-win32ce.h
config.dos
connect.c Added the use of Watt-32 tcp/ip stack for Win32 targets. 2008-12-16 08:25:55 +00:00
connect.h
content_encoding.c
content_encoding.h
cookie.c - Pawel Kierski pointed out a mistake in the cookie code that could lead to a 2008-12-03 15:08:09 +00:00
cookie.h
curl_addrinfo.c
curl_addrinfo.h
curl_base64.h
curl_ldap.h
curl_md5.h
curllib.dsw
curlx.h
dict.c - Using the libssh2 0.19 function libssh2_session_block_directions(), libcurl 2008-12-19 21:14:52 +00:00
dict.h
easy.c - Bug report #2416182 titled "crash in ConnectionExists when using 2008-12-11 23:52:56 +00:00
easyif.h
escape.c
escape.h
file.c - Using the libssh2 0.19 function libssh2_session_block_directions(), libcurl 2008-12-19 21:14:52 +00:00
file.h
firefox-db2pem.sh
formdata.c malloc+memset => calloc 2008-12-20 22:51:57 +00:00
formdata.h
ftp.c - Using the libssh2 0.19 function libssh2_session_block_directions(), libcurl 2008-12-19 21:14:52 +00:00
ftp.h
getenv.c
getinfo.c
getinfo.h
gtls.c Made an array static const 2008-11-18 09:11:34 +00:00
gtls.h
hash.c
hash.h
hostares.c
hostasyn.c
hostip4.c
hostip6.c
hostip.c
hostip.h
hostsyn.c
hostthre.c
http_chunks.c
http_chunks.h
http_digest.c - Internet Explorer had a broken HTTP digest authentication before v7 and 2008-12-10 23:13:31 +00:00
http_digest.h
http_negotiate.c
http_negotiate.h
http_ntlm.c
http_ntlm.h
http.c same procedure, simpler code 2008-12-20 22:47:49 +00:00
http.h
if2ip.c Fixed the getifaddrs version of Curl_if2ip to work on systems without IPv6 2008-12-04 06:24:00 +00:00
if2ip.h the IP address we want/request/use from the interface is the 'local' 2008-11-17 19:08:35 +00:00
inet_ntop.c
inet_ntop.h
inet_pton.c backport fix for failures to reject certain malformed literals 2008-11-17 02:40:41 +00:00
inet_pton.h
krb4.c fix OOM problem reported by Jim Meyering 2008-11-16 12:26:50 +00:00
krb4.h
krb5.c
ldap.c - Using the libssh2 0.19 function libssh2_session_block_directions(), libcurl 2008-12-19 21:14:52 +00:00
libcurl.def
libcurl.framework.make
libcurl.imp
libcurl.plist
libcurl.rc
llist.c
llist.h
Makefile.am
makefile.amiga
Makefile.b32
makefile.dj
Makefile.inc
Makefile.m32
Makefile.netware
Makefile.riscos
Makefile.vc6
Makefile.Watcom Updated dependencies based on "gcc -MM". 2008-12-16 09:12:46 +00:00
md5.c
memdebug.c
memdebug.h
memory.h
mk-ca-bundle.pl
mprintf.c
msvcproj.foot
msvcproj.head
multi.c - Igor Novoseltsev fixed a bad situation for the multi_socket() API when doing 2008-12-20 22:03:22 +00:00
multiif.h
netrc.c
netrc.h
nss.c based on a report by Jim Meyering, I went over and added checks for return 2008-11-15 23:43:10 +00:00
nssg.h
nwlib.c
nwos.c
parsedate.c
parsedate.h
progress.c
progress.h
qssl.c
qssl.h
rawstr.c
rawstr.h
README.ares
README.curl_off_t
README.curlx
README.encoding
README.hostip
README.httpauth
README.memoryleak
README.multi_socket
README.NSS
README.pipelining
security.c
select.c
select.h
sendf.c Christian Krause fixed a build failure when building with gss support 2008-11-16 12:42:53 +00:00
sendf.h
setup_once.h
setup-os400.h the IP address we want/request/use from the interface is the 'local' 2008-11-17 19:08:35 +00:00
setup.h if2ip.c related preprocessor cleanup 2008-11-17 14:24:15 +00:00
share.c malloc+memset => calloc 2008-12-20 22:51:57 +00:00
share.h
sockaddr.h
socks.c
socks.h
speedcheck.c
speedcheck.h
splay.c make the debug/helper function output to stderr as that makes it play nicer 2008-12-20 21:48:34 +00:00
splay.h
ssh.c - Given a recent enough libssh2, libcurl can now seek/resume with SFTP even 2008-12-22 13:12:36 +00:00
ssh.h - Anthony Bryan provided a set of patches that cleaned up manual language, 2008-12-22 13:07:13 +00:00
sslgen.c
sslgen.h
ssluse.c
ssluse.h
strdup.c
strdup.h
strequal.c
strequal.h
strerror.c
strerror.h
strtok.c
strtok.h
strtoofft.c
strtoofft.h
telnet.c - Using the libssh2 0.19 function libssh2_session_block_directions(), libcurl 2008-12-19 21:14:52 +00:00
telnet.h
tftp.c - Using the libssh2 0.19 function libssh2_session_block_directions(), libcurl 2008-12-19 21:14:52 +00:00
tftp.h
timeval.c
timeval.h
transfer.c - Using the libssh2 0.19 function libssh2_session_block_directions(), libcurl 2008-12-19 21:14:52 +00:00
transfer.h
url.c - Using the libssh2 0.19 function libssh2_session_block_directions(), libcurl 2008-12-19 21:14:52 +00:00
url.h - Igor Novoseltsev filed bug #2351645 2008-12-03 15:20:27 +00:00
urldata.h - Using the libssh2 0.19 function libssh2_session_block_directions(), libcurl 2008-12-19 21:14:52 +00:00
vc8proj.foot
vc8proj.head
version.c

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.