1
0
mirror of https://github.com/moparisthebest/curl synced 2025-01-08 20:38:18 -05:00
curl/lib
2014-05-17 11:54:48 +02:00
..
vtls axtls: Fixed too long source line 2014-05-17 11:54:48 +02:00
.gitignore
amigaos.c
amigaos.h build: fix circular header inclusion with other packages 2013-01-09 00:49:50 +01:00
arpa_telnet.h
asyn-ares.c
asyn-thread.c threaded-resolver: never use NULL hints with getaddrinfo 2014-01-10 08:48:40 +01:00
asyn.h build: fix circular header inclusion with other packages 2013-01-09 00:49:50 +01:00
base64.c
bundles.c
bundles.h Revert changes relative to lib/*.[ch] recent renaming 2013-01-06 18:20:27 +01:00
checksrc.pl checksrc: ban unsafe functions 2013-03-07 11:08:05 +01:00
CMakeLists.txt
config-amigaos.h curl tool: use configuration files from lib directory 2012-04-06 23:37:05 +02:00
config-dos.h config-dos.h: define HAVE_CLOSE_S for MSDOS/Watt-32 2013-02-15 02:35:22 +01:00
config-mac.h curl tool: use configuration files from lib directory 2012-04-06 23:37:05 +02:00
config-os400.h
config-riscos.h
config-symbian.h strcasestr: remove check for this unused function 2013-02-23 19:51:05 +01:00
config-tpf.h strlcat: remove function 2013-02-14 10:41:45 +01:00
config-vxworks.h
config-win32.h config-win32.h: Fixed HAVE_LONGLONG for Visual Studio .NET 2003 and up 2014-05-04 19:05:06 +01:00
config-win32ce.h
conncache.c Updated copyright year for recent changes 2014-01-04 17:41:10 +00:00
conncache.h
connect.c
connect.h
content_encoding.c build: fix circular header inclusion with other packages 2013-01-09 00:49:50 +01:00
content_encoding.h
cookie.c cookie: max-age fixes 2014-01-17 08:57:27 +01:00
cookie.h cookies: follow-up fix for path checking 2013-06-12 11:19:56 +02:00
curl_addrinfo.c build: fix circular header inclusion with other packages 2013-01-09 00:49:50 +01:00
curl_addrinfo.h
curl_base64.h base64: fix Curl_base64_encode and Curl_base64_decode interfaces 2011-08-24 08:10:30 +02:00
curl_config.h.cmake
curl_fnmatch.c
curl_fnmatch.h
curl_gethostname.c
curl_gethostname.h HOSTNAME_MAX: Moved to curl_gethostname.h 2011-09-25 23:58:47 +02:00
curl_gssapi.c
curl_gssapi.h build: fix circular header inclusion with other packages 2013-01-09 00:49:50 +01:00
curl_hmac.h
curl_ldap.h
curl_md4.h build: fix circular header inclusion with other packages 2013-01-09 00:49:50 +01:00
curl_md5.h
curl_memory.h WIN32 MemoryTracking: require UNICODE for wide strdup code support 2013-07-19 12:33:10 +02:00
curl_memrchr.c
curl_memrchr.h
curl_multibyte.c
curl_multibyte.h
curl_ntlm_core.c
curl_ntlm_core.h
curl_ntlm_msgs.c
curl_ntlm_msgs.h
curl_ntlm_wb.c
curl_ntlm_wb.h build: fix circular header inclusion with other packages 2013-01-09 00:49:50 +01:00
curl_ntlm.c
curl_ntlm.h
curl_rtmp.c INFILESIZE: fields in UserDefined must not be changed run-time 2014-04-26 18:17:10 +02:00
curl_rtmp.h
curl_sasl_sspi.c
curl_sasl.c sasl: Fixed missing qop in the client's challenge-response message 2014-05-11 14:48:28 +01:00
curl_sasl.h
curl_sec.h
curl_setup_once.h
curl_setup.h configure: Fix the --disable-crypto-auth option 2014-02-17 09:50:46 +01:00
curl_sspi.c
curl_sspi.h
curl_threads.c Curl_thread_create: use Curl_safefree to allow NULL better 2013-12-25 00:53:15 +01:00
curl_threads.h
curlx.h Revert changes relative to lib/*.[ch] recent renaming 2013-01-06 18:20:27 +01:00
dict.c
dict.h Revert changes relative to lib/*.[ch] recent renaming 2013-01-06 18:20:27 +01:00
dotdot.c copyright: Updated following recent edits 2014-04-28 23:20:52 +01:00
dotdot.h copyright: Updated following recent edits 2014-04-28 23:20:52 +01:00
easy.c
easyif.h
escape.c
escape.h
file.c
file.h
fileinfo.c
fileinfo.h
firefox-db2pem.sh
formdata.c formdata: Must use Curl_safefree instead of free 2014-02-09 10:10:22 +01:00
formdata.h
ftp.c
ftp.h FTP: make the data connection work when going through proxy 2013-10-26 23:33:06 +02:00
ftplistparser.c
ftplistparser.h
getenv.c VMS: fix and generate the VMS build config 2013-02-05 23:08:57 +01:00
getinfo.c
getinfo.h Revert changes relative to lib/*.[ch] recent renaming 2013-01-06 18:20:27 +01:00
gopher.c
gopher.h
hash.c
hash.h
hmac.c
hostasyn.c build: fix circular header inclusion with other packages 2013-01-09 00:49:50 +01:00
hostcheck.c
hostcheck.h
hostip4.c
hostip6.c
hostip.c
hostip.h dns: fix compilation with MinGW from commit df69440d05 2013-09-17 20:59:43 +01:00
hostsyn.c
http2.c
http2.h
http_chunks.c
http_chunks.h
http_digest.c
http_digest.h
http_negotiate_sspi.c
http_negotiate.c
http_negotiate.h
http_proxy.c CURLOPT_PROXYHEADER: set headers for proxy-only 2014-04-04 17:03:43 +02:00
http_proxy.h remote_port: allow connect to port 0 2014-03-05 17:38:05 +00:00
http.c
http.h
idn_win32.c build: fix circular header inclusion with other packages 2013-01-09 00:49:50 +01:00
if2ip.c
if2ip.h
imap.c
imap.h
inet_ntop.c
inet_ntop.h
inet_pton.c
inet_pton.h build: fix circular header inclusion with other packages 2013-01-09 00:49:50 +01:00
krb5.c
ldap.c
libcurl.def
libcurl.plist
libcurl.rc remove the CVSish $Id$ lines 2010-03-24 11:02:54 +01:00
libcurl.vers.in configure: use XC_LIBTOOL for portability across libtool versions 2013-03-08 13:27:45 +01:00
llist.c
llist.h
Makefile.am
makefile.amiga curl tool: use configuration files from lib directory - follow-up I 2012-04-07 00:31:24 +02:00
Makefile.b32
makefile.dj Changed email per Gisle's request. 2011-04-16 00:11:43 +02:00
Makefile.inc
Makefile.m32 Fix compilation with make mingw32 2014-02-12 14:39:08 +01:00
Makefile.netware
Makefile.vc6 Makefile.vc6: Added curl_sasl_sspi.c 2014-04-06 00:57:23 +01:00
Makefile.vxworks Updated zlib version in build files. 2013-05-11 17:08:00 +02:00
Makefile.Watcom
md4.c build: fix circular header inclusion with other packages 2013-01-09 00:49:50 +01:00
md5.c
memdebug.c
memdebug.h
mk-ca-bundle.pl
mk-ca-bundle.vbs Simplify check for trusted certificates. 2013-08-05 13:02:27 +02:00
mprintf.c
multi.c
multihandle.h
multiif.h multi: remove MULTI_TIMEOUT_INACCURACY 2014-01-12 00:11:53 +01:00
netrc.c netrc.c: fix multiple possible dereferences of null pointers 2014-04-19 16:00:43 +02:00
netrc.h
non-ascii.c build: fix circular header inclusion with other packages 2013-01-09 00:49:50 +01:00
non-ascii.h build: fix circular header inclusion with other packages 2013-01-09 00:49:50 +01:00
nonblock.c
nonblock.h Revert changes relative to lib/*.[ch] recent renaming 2013-01-06 18:20:27 +01:00
nwlib.c
nwos.c
objnames-test08.sh
objnames-test10.sh
objnames.inc
openldap.c
parsedate.c
parsedate.h
pingpong.c
pingpong.h
pipeline.c
pipeline.h
pop3.c
pop3.h pop3: Fix POP3_TYPE_ANY signed compilation warning 2013-12-04 20:18:44 +00:00
progress.c
progress.h timers: fix timer regression involving redirects / reconnects 2014-05-15 21:28:19 +02:00
rawstr.c
rawstr.h Revert changes relative to lib/*.[ch] recent renaming 2013-01-06 18:20:27 +01:00
README.ares
README.curl_off_t
README.curlx
README.encoding
README.hostip
README.http2 README.http2: mention some alt-svc thoughts 2014-04-17 19:23:39 +02:00
README.httpauth HTTP "auth done right". See lib/README.httpauth 2004-11-24 16:11:35 +00:00
README.memoryleak remove the CVSish $Id$ lines 2010-03-24 11:02:54 +01:00
README.multi_socket
README.pingpong
README.pipelining
rtsp.c INFILESIZE: fields in UserDefined must not be changed run-time 2014-04-26 18:17:10 +02:00
rtsp.h Revert changes relative to lib/*.[ch] recent renaming 2013-01-06 18:20:27 +01:00
security.c security.h: rename to curl_sec.h to avoid name collision 2013-08-26 11:51:18 +02:00
select.c
select.h
sendf.c
sendf.h
setup-os400.h
setup-vms.h
share.c
share.h
sigpipe.h
slist.c
slist.h slist.c, slist.h, cookie.c: new internal procedure Curl_slist_append_nodup() 2013-07-15 16:53:43 +02:00
smtp.c
smtp.h
sockaddr.h build: fix circular header inclusion with other packages 2013-01-09 00:49:50 +01:00
socks_gssapi.c
socks_sspi.c
socks.c
socks.h
speedcheck.c
speedcheck.h
splay.c
splay.h build: fix circular header inclusion with other packages 2013-01-09 00:49:50 +01:00
ssh.c
ssh.h
strdup.c
strdup.h build: fix circular header inclusion with other packages 2013-01-09 00:49:50 +01:00
strequal.c strlcat: remove function 2013-02-14 10:41:45 +01:00
strequal.h strlcat: remove function 2013-02-14 10:41:45 +01:00
strerror.c
strerror.h
strtok.c
strtok.h build: fix circular header inclusion with other packages 2013-01-09 00:49:50 +01:00
strtoofft.c build: fix circular header inclusion with other packages 2013-01-09 00:49:50 +01:00
strtoofft.h build: fix circular header inclusion with other packages 2013-01-09 00:49:50 +01:00
telnet.c
telnet.h Revert changes relative to lib/*.[ch] recent renaming 2013-01-06 18:20:27 +01:00
tftp.c
tftp.h Revert changes relative to lib/*.[ch] recent renaming 2013-01-06 18:20:27 +01:00
timeval.c Revert changes relative to lib/*.[ch] recent renaming 2013-01-06 18:20:27 +01:00
timeval.h
transfer.c
transfer.h Curl_perfom: removed 2013-02-01 08:14:46 +01:00
url.c
url.h
urldata.h timers: fix timer regression involving redirects / reconnects 2014-05-15 21:28:19 +02:00
version.c vtls: renamed sslgen.[ch] to vtls.[ch] 2013-12-20 17:12:42 +01:00
warnless.c
warnless.h warnless: Updated copyright year for recent changes 2014-02-16 10:39:46 +00:00
wildcard.c
wildcard.h
x509asn1.c
x509asn1.h

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.