curl/lib
2009-06-04 23:55:56 +00:00
..
.cvsignore Ignore more files for cvs 2009-05-09 10:09:33 +00:00
amigaos.c Indentation fixes, untabify and related whitespace-cleanup. No code changed. 2009-02-27 08:53:10 +00:00
amigaos.h
arpa_telnet.h Update copyright year, to force CVS to update the $Id date string format 2009-05-18 12:25:45 +00:00
base64.c fix shadowing of a global declaration 2009-06-04 23:55:56 +00:00
CMakeLists.txt Fixed compile defines in CMake scripts 2009-04-08 11:42:45 +00:00
config-amigaos.h Use build-time configured curl_socklen_t instead of socklen_t 2009-05-02 02:37:32 +00:00
config-mac.h
config-os400.h Use build-time configured curl_socklen_t instead of socklen_t 2009-05-02 02:37:32 +00:00
config-riscos.h Use build-time configured curl_socklen_t instead of socklen_t 2009-05-02 02:37:32 +00:00
config-symbian.h Use build-time configured curl_socklen_t instead of socklen_t 2009-05-02 02:37:32 +00:00
config-tpf.h Use build-time configured curl_socklen_t instead of socklen_t 2009-05-02 02:37:32 +00:00
config-vxworks.h allow building libcurl for VxWorks 2009-06-04 19:11:11 +00:00
config-win32.h use HAVE_LIMITS_H symbol to protect limits.h inclusion 2009-04-14 13:50:32 +00:00
config-win32ce.h use HAVE_LIMITS_H symbol to protect limits.h inclusion 2009-04-14 13:50:32 +00:00
config.dos Use build-time configured curl_socklen_t instead of socklen_t 2009-05-02 02:37:32 +00:00
config.h.cmake Use build-time configured curl_socklen_t instead of socklen_t 2009-05-02 02:37:32 +00:00
connect.c Curl_sndbufset is (at times) defined in the header, no need to do it again here 2009-05-07 20:02:51 +00:00
connect.h - Made the SO_SNDBUF setting for the data connection socket for ftp uploads as 2009-05-07 20:00:44 +00:00
content_encoding.c - Balint Szilakszi reported a memory leak when libcurl did gzip decompression 2009-05-11 09:55:28 +00:00
content_encoding.h - Balint Szilakszi reported a memory leak when libcurl did gzip decompression 2009-05-11 09:55:28 +00:00
cookie.c - bug report #2796358 (http://curl.haxx.se/bug/view.cgi?id=2796358) pointed 2009-05-25 12:23:22 +00:00
cookie.h Indentation fixes, untabify and related whitespace-cleanup. No code changed. 2009-02-27 08:53:10 +00:00
curl_addrinfo.c Fix type cast 2009-05-10 10:24:53 +00:00
curl_addrinfo.h Use build-time configured curl_socklen_t instead of socklen_t 2009-05-02 02:37:32 +00:00
curl_base64.h fix shadowing of a global declaration 2009-06-04 23:55:56 +00:00
curl_ldap.h
curl_md5.h
curl_memory.h libcurl's memory.h renamed to curl_memory.h 2009-04-21 11:46:16 +00:00
curl_sspi.c libcurl's memory.h renamed to curl_memory.h 2009-04-21 11:46:16 +00:00
curl_sspi.h
curlx.h
dict.c fix shadowing of a global declaration 2009-06-04 23:55:56 +00:00
dict.h fix shadowing of a global declaration 2009-06-04 23:55:56 +00:00
easy.c Simplify c-ares function capability check 2009-05-18 00:25:48 +00:00
easyif.h
escape.c libcurl's memory.h renamed to curl_memory.h 2009-04-21 11:46:16 +00:00
escape.h
file.c allow building libcurl for VxWorks 2009-06-04 19:11:11 +00:00
file.h
firefox-db2pem.sh
formdata.c libcurl's memory.h renamed to curl_memory.h 2009-04-21 11:46:16 +00:00
formdata.h
ftp.c - Kamil Dudka brought the patch from the Redhat bug entry 2009-05-19 20:54:31 +00:00
ftp.h
getenv.c libcurl's memory.h renamed to curl_memory.h 2009-04-21 11:46:16 +00:00
getinfo.c libcurl's memory.h renamed to curl_memory.h 2009-04-21 11:46:16 +00:00
getinfo.h Update copyright year, to force CVS to update the $Id date string format 2009-05-18 12:25:45 +00:00
gtls.c I simplified the SSL session id re-use code now to *always* ditch the previous 2009-05-05 08:33:29 +00:00
gtls.h
hash.c libcurl's memory.h renamed to curl_memory.h 2009-04-21 11:46:16 +00:00
hash.h
hostares.c libcurl's memory.h renamed to curl_memory.h 2009-04-21 11:46:16 +00:00
hostasyn.c libcurl's memory.h renamed to curl_memory.h 2009-04-21 11:46:16 +00:00
hostip4.c libcurl's memory.h renamed to curl_memory.h 2009-04-21 11:46:16 +00:00
hostip6.c libcurl's memory.h renamed to curl_memory.h 2009-04-21 11:46:16 +00:00
hostip.c libcurl's memory.h renamed to curl_memory.h 2009-04-21 11:46:16 +00:00
hostip.h
hostsyn.c libcurl's memory.h renamed to curl_memory.h 2009-04-21 11:46:16 +00:00
hostthre.c libcurl's memory.h renamed to curl_memory.h 2009-04-21 11:46:16 +00:00
http_chunks.c libcurl's memory.h renamed to curl_memory.h 2009-04-21 11:46:16 +00:00
http_chunks.h
http_digest.c Removed some obsolete digest code that caused a valgrind error in test 551. 2009-05-22 17:26:49 +00:00
http_digest.h
http_negotiate.c libcurl's memory.h renamed to curl_memory.h 2009-04-21 11:46:16 +00:00
http_negotiate.h
http_ntlm.c libcurl's memory.h renamed to curl_memory.h 2009-04-21 11:46:16 +00:00
http_ntlm.h Indentation fixes, untabify and related whitespace-cleanup. No code changed. 2009-02-27 08:53:10 +00:00
http.c fix compiler warning: unused parameter 2009-05-28 16:18:25 +00:00
http.h
if2ip.c libcurl's memory.h renamed to curl_memory.h 2009-04-21 11:46:16 +00:00
if2ip.h
inet_ntop.c
inet_ntop.h Update copyright year, to force CVS to update the $Id date string format 2009-05-18 12:25:45 +00:00
inet_pton.c
inet_pton.h
krb4.c libcurl's memory.h renamed to curl_memory.h 2009-04-21 11:46:16 +00:00
krb4.h
krb5.c Use build-time configured curl_socklen_t instead of socklen_t 2009-05-02 02:37:32 +00:00
ldap.c libcurl's memory.h renamed to curl_memory.h 2009-04-21 11:46:16 +00:00
libcurl.def
libcurl.imp
libcurl.plist
libcurl.rc
llist.c libcurl's memory.h renamed to curl_memory.h 2009-04-21 11:46:16 +00:00
llist.h
Makefile.am allow building libcurl for VxWorks 2009-06-04 19:11:11 +00:00
makefile.amiga Added new libcurl source files to Amiga, RiscOS and VC6 build files. 2009-04-23 04:12:04 +00:00
Makefile.b32 Remove empty line used to force CVS to update the $Id date string format 2009-05-19 12:12:22 +00:00
makefile.dj
Makefile.inc libcurl's memory.h renamed to curl_memory.h 2009-04-21 11:46:16 +00:00
Makefile.m32 some minor Makefile tweaks for latest libssh2. 2009-04-09 02:50:09 +00:00
Makefile.netware Use build-time configured curl_socklen_t instead of socklen_t 2009-05-02 02:37:32 +00:00
Makefile.riscos Added new libcurl source files to Amiga, RiscOS and VC6 build files. 2009-04-23 04:12:04 +00:00
Makefile.vc6 Added new libcurl source files to Amiga, RiscOS and VC6 build files. 2009-04-23 04:12:04 +00:00
Makefile.vxworks allow building libcurl for VxWorks 2009-06-04 19:11:11 +00:00
Makefile.Watcom libcurl's memory.h renamed to curl_memory.h 2009-04-21 11:46:16 +00:00
md5.c
memdebug.c Use build-time configured curl_socklen_t instead of socklen_t 2009-05-02 02:37:32 +00:00
memdebug.h Moved potential inclusion of system's malloc.h and memory.h header files to 2009-04-21 10:26:58 +00:00
mk-ca-bundle.pl
mprintf.c libcurl's memory.h renamed to curl_memory.h 2009-04-21 11:46:16 +00:00
msvcproj.foot
msvcproj.head
multi.c Internal cleanup: KEEP_WRITE and KEEP_READ are now called KEEP_SEND and 2009-05-11 07:53:38 +00:00
multiif.h
netrc.c libcurl's memory.h renamed to curl_memory.h 2009-04-21 11:46:16 +00:00
netrc.h
nss.c Fixed a few comment typos (from the FreeBSD ports) 2009-05-28 21:32:31 +00:00
nssg.h
nwlib.c
nwos.c
parsedate.c
parsedate.h
progress.c
progress.h
qssl.c libcurl's memory.h renamed to curl_memory.h 2009-04-21 11:46:16 +00:00
qssl.h
rawstr.c
rawstr.h
README.ares
README.curl_off_t
README.curlx Remove empty line used to force CVS to update the $Id date string format 2009-05-19 12:12:22 +00:00
README.encoding
README.hostip
README.httpauth
README.memoryleak
README.multi_socket
README.NSS
README.pipelining
security.c libcurl's memory.h renamed to curl_memory.h 2009-04-21 11:46:16 +00:00
select.c
select.h
sendf.c Internal cleanup: KEEP_WRITE and KEEP_READ are now called KEEP_SEND and 2009-05-11 07:53:38 +00:00
sendf.h
setup_once.h Use build-time configured curl_socklen_t instead of socklen_t 2009-05-02 02:37:32 +00:00
setup-os400.h Use build-time configured curl_socklen_t instead of socklen_t 2009-05-02 02:37:32 +00:00
setup.h allow building libcurl for VxWorks 2009-06-04 19:11:11 +00:00
share.c libcurl's memory.h renamed to curl_memory.h 2009-04-21 11:46:16 +00:00
share.h
slist.c libcurl's memory.h renamed to curl_memory.h 2009-04-21 11:46:16 +00:00
slist.h - Frank Hempel found out a bug and provided the fix: 2009-03-09 12:21:46 +00:00
sockaddr.h Update copyright year, to force CVS to update the $Id date string format 2009-05-18 12:25:45 +00:00
socks_gssapi.c Moved potential inclusion of system's malloc.h and memory.h header files to 2009-04-21 10:26:58 +00:00
socks_sspi.c Moved potential inclusion of system's malloc.h and memory.h header files to 2009-04-21 10:26:58 +00:00
socks.c Moved potential inclusion of system's malloc.h and memory.h header files to 2009-04-21 10:26:58 +00:00
socks.h
speedcheck.c
speedcheck.h Update copyright year, to force CVS to update the $Id date string format 2009-05-18 12:25:45 +00:00
splay.c
splay.h
ssh.c changed ssh.c to use HAVE_LIBSSH2_SESSION_BLOCK_DIRECTION define provided by libssh2.h; removed related define block from ssh.h. 2009-05-19 23:21:25 +00:00
ssh.h changed ssh.c to use HAVE_LIBSSH2_SESSION_BLOCK_DIRECTION define provided by libssh2.h; removed related define block from ssh.h. 2009-05-19 23:21:25 +00:00
sslgen.c - Michael Smith posted bug report #2786255 2009-05-04 21:57:14 +00:00
sslgen.h - Michael Smith posted bug report #2786255 2009-05-04 21:57:14 +00:00
ssluse.c - Andre Guibert de Bruet found a call to a OpenSSL function that didn't check 2009-05-27 21:15:38 +00:00
ssluse.h
strdup.c
strdup.h
strequal.c
strequal.h
strerror.c allow building libcurl for VxWorks 2009-06-04 19:11:11 +00:00
strerror.h Update copyright year, to force CVS to update the $Id date string format 2009-05-18 12:25:45 +00:00
strtok.c
strtok.h
strtoofft.c
strtoofft.h
telnet.c libcurl's memory.h renamed to curl_memory.h 2009-04-21 11:46:16 +00:00
telnet.h
tftp.c fix compiler warning: unused parameter 2009-05-28 16:18:25 +00:00
tftp.h
timeval.c
timeval.h
transfer.c fix compiler warning: variable was set but never used 2009-05-28 16:19:03 +00:00
transfer.h
url.c corrected comments 2009-05-29 07:43:43 +00:00
url.h - Constantine Sapuntzakis fixed bug report #2784055 2009-05-08 10:59:40 +00:00
urldata.h Internal cleanup: KEEP_WRITE and KEEP_READ are now called KEEP_SEND and 2009-05-11 07:53:38 +00:00
vc6libcurl.dsw Fix CR 2009-05-08 19:09:36 +00:00
vc8proj.foot
vc8proj.head
version.c - Use libssh2_version() to present the libssh2 version in case the libssh2 2009-03-13 09:58:15 +00: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.