curl/lib
2009-11-02 20:04:18 +00:00
..
.cvsignore more files to ignore 2009-10-05 02:47:34 +00:00
amigaos.c Fix Pelles C Win32 target compilation issues 2009-10-27 16:38:42 +00:00
amigaos.h
arpa_telnet.h
base64.c
CMakeLists.txt
config-amigaos.h
config-mac.h
config-os400.h
config-riscos.h
config-symbian.h Check for basename() is now done the same as other function checks 2009-10-18 03:37:39 +00:00
config-tpf.h Check for basename() is now done the same as other function checks 2009-10-18 03:37:39 +00:00
config-vxworks.h Check for basename() is now done the same as other function checks 2009-10-18 03:37:39 +00:00
config-win32.h Fix Pelles C Win32 target compilation issues 2009-10-27 16:38:42 +00:00
config-win32ce.h
config.dos Update memory tracking/debugging reference 2009-10-21 18:01:11 +00:00
connect.c - Tom Mueller correctly reported in bug report #2870221 2009-10-01 07:59:45 +00:00
connect.h
content_encoding.c add cast to silient compiler warning with 64bit systems. 2009-08-29 03:42:13 +00:00
content_encoding.h
cookie.c - Dima Barsky made the curl cookie parser accept cookies even with blank or 2009-10-25 18:15:14 +00:00
cookie.h
curl_addrinfo.c
curl_addrinfo.h
curl_base64.h
curl_config.h.cmake
curl_ldap.h
curl_md5.h
curl_memory.h
curl_memrchr.c Removed some extraneous carriage return characters 2009-09-28 18:13:35 +00:00
curl_memrchr.h Removed some extraneous carriage return characters 2009-09-28 18:13:35 +00:00
curl_rand.c Moved Curl_rand() and Curl_srand() code from formdata.c and formdata.h 2009-09-17 14:23:27 +00:00
curl_rand.h Moved Curl_rand() and Curl_srand() code from formdata.c and formdata.h 2009-09-17 14:23:27 +00:00
curl_sspi.c
curl_sspi.h
curlx.h
dict.c Fix compiler warning: addition result could be truncated before cast to bigger sized type 2009-10-08 00:02:32 +00:00
dict.h
easy.c Fix Pelles C Win32 target compilation issues 2009-10-27 16:38:42 +00:00
easyif.h
escape.c
escape.h
file.c
file.h
firefox-db2pem.sh
formdata.c Check for basename() is now done the same as other function checks 2009-10-18 03:37:39 +00:00
formdata.h Moved Curl_rand() and Curl_srand() code from formdata.c and formdata.h 2009-09-17 14:23:27 +00:00
ftp.c fix compiler warning: enumerated type mixed with another type 2009-09-17 16:11:54 +00:00
ftp.h
getenv.c
getinfo.c
getinfo.h
gtls.c added cast macros to silent compiler warnings with 64-bit systems. 2009-10-19 18:10:47 +00:00
gtls.h
hash.c
hash.h
hostares.c Revert Joshua Kwan's patch committed 11 Sep 2009. 2009-09-15 00:07:25 +00:00
hostasyn.c
hostip4.c
hostip6.c
hostip.c - Peter Sylvester made a debug featuer for Curl_resolv() that now will force 2009-09-01 14:27:01 +00:00
hostip.h
hostsyn.c
hostthre.c
http_chunks.c
http_chunks.h
http_digest.c
http_digest.h
http_negotiate.c
http_negotiate.h
http_ntlm.c
http_ntlm.h
http.c - "Tom" posted a bug report that mentioned how libcurl did wrong when doing a 2009-10-30 22:24:48 +00:00
http.h
if2ip.c
if2ip.h
inet_ntop.c
inet_ntop.h fix cast for some systems which are broken due to absense of socklen_t, therefore now use curl_socklen_t. 2009-08-07 23:32:38 +00:00
inet_pton.c
inet_pton.h
krb4.c
krb4.h
krb5.c
ldap.c include progress.h for Curl_pgrsSetDownloadCounter function prototype 2009-11-02 20:04:18 +00:00
libcurl.def
libcurl.imp added missing curl_easy_pause to export list. 2009-08-16 15:03:58 +00:00
libcurl.plist
libcurl.rc
llist.c
llist.h
Makefile.am describe the cmake situation 2009-11-02 16:24:11 +00:00
makefile.amiga libcurl private function Curl_memrchr() now in curl_memrchr.c and curl_memrchr.h 2009-09-28 16:05:20 +00:00
Makefile.b32
makefile.dj
Makefile.inc libcurl private function Curl_memrchr() now in curl_memrchr.c and curl_memrchr.h 2009-09-28 16:05:20 +00:00
Makefile.m32
Makefile.netware changed NetWare makefiles to rely on SHELL rather than OSTYPE since we can have a sh-like shell also on Windows (MSYS, Cygwin). 2009-09-07 19:34:03 +00:00
Makefile.riscos libcurl private function Curl_memrchr() now in curl_memrchr.c and curl_memrchr.h 2009-09-28 16:05:20 +00:00
Makefile.vc6 libcurl private function Curl_memrchr() now in curl_memrchr.c and curl_memrchr.h 2009-09-28 16:05:20 +00:00
Makefile.vxworks
Makefile.Watcom libcurl private function Curl_memrchr() now in curl_memrchr.c and curl_memrchr.h 2009-09-28 16:05:20 +00:00
md5.c
memdebug.c Fix compiler warning: control reaches end of non-void function 2009-10-29 04:02:21 +00:00
memdebug.h Fix compiler warning: control reaches end of non-void function 2009-10-29 04:02:21 +00:00
mk-ca-bundle.pl
mprintf.c
msvcproj.foot
msvcproj.head
multi.c clarify the code by initing newurl to NULL 2009-08-24 08:41:17 +00:00
multiif.h
netrc.c
netrc.h
nonblock.c
nonblock.h
nss.c Since the NSS lib closes the socket the memory tracking system wrongly gets a 2009-10-28 20:30:23 +00:00
nssg.h
nwlib.c Fix Pelles C Win32 target compilation issues 2009-10-27 16:38:42 +00:00
nwos.c Fix Pelles C Win32 target compilation issues 2009-10-27 16:38:42 +00:00
parsedate.c - Ray Dassen provided a patch in Debian's bug tracker (bug number #551461) 2009-10-18 21:56:19 +00:00
parsedate.h fix copyright year 2009-09-03 08:30:28 +00:00
progress.c - Gabriel Kuri reported a problem with CURLINFO_CONTENT_LENGTH_DOWNLOAD if the 2009-10-31 18:51:50 +00:00
progress.h
qssl.c
qssl.h
rawstr.c
rawstr.h
README.ares
README.cmake describe the cmake situation 2009-11-02 16:24:11 +00:00
README.curl_off_t
README.curlx
README.encoding
README.hostip
README.httpauth
README.memoryleak
README.multi_socket
README.pipelining
security.c
select.c Fix spelling 2009-10-27 16:56:20 +00:00
select.h
sendf.c
sendf.h
setup_once.h
setup-os400.h
setup.h Fix Pelles C Win32 target compilation issues 2009-10-27 16:38:42 +00:00
share.c
share.h
slist.c
slist.h
sockaddr.h
socks_gssapi.c
socks_sspi.c
socks.c removed obsolete casts. 2009-08-29 03:57:28 +00:00
socks.h
speedcheck.c
speedcheck.h
splay.c
splay.h
ssh.c - Liza Alenchery mentioned a problem with re-used SCP connection when a bad 2009-10-30 22:28:56 +00:00
ssh.h
sslgen.c
sslgen.h
ssluse.c we only need to call ASN1_STRING_length() if ASN1_STRING_type() detects UTF-8, 2009-10-14 02:32:27 +00:00
ssluse.h
strdup.c
strdup.h
strequal.c
strequal.h
strerror.c
strerror.h
strtok.c
strtok.h
strtoofft.c
strtoofft.h
telnet.c
telnet.h
tftp.c - Carsten Lange reported a bug and provided a patch for TFTP upload and the 2009-08-12 08:19:39 +00:00
tftp.h
timeval.c
timeval.h
transfer.c tiny indent fix 2009-09-27 21:37:24 +00:00
transfer.h - Andre Guibert de Bruet pointed out a missing return code check for a 2009-08-21 12:01:36 +00:00
url.c Attempt to silence bogus compiler warning: "Potential null pointer dereference" 2009-10-08 12:44:25 +00:00
url.h
urldata.h Take in account c-ares 1.6.1 will use __declspec function decoration 2009-10-29 03:48:00 +00:00
vc6libcurl.dsw
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.