1
0
mirror of https://github.com/moparisthebest/curl synced 2024-11-10 11:35:07 -05:00
curl/lib
Steve Holme bd8ae68006 imap: Code tidy up prior to adding support for the CAPABILITY command
* Changing the order of the state machine to represent the order in
  which commands are sent to the server.

* Reworking the imap_endofresp() function as the FETCH response doesn't
  include the command id and shouldn't be part of the length comparison
  that takes into account the id string.
2012-12-30 12:44:09 +00:00
..
.gitignore Removed libcurl.imp from Makefile.am. 2012-07-11 17:40:09 +02:00
amigaos.c build: make use of 76 lib/*.h renamed files 2012-12-28 19:37:11 +01:00
asyn-ares.c build: make use of 76 lib/*.h renamed files 2012-12-28 19:37:11 +01:00
asyn-thread.c build: make use of 76 lib/*.h renamed files 2012-12-28 19:37:11 +01:00
axtls.c build: make use of 76 lib/*.h renamed files 2012-12-28 19:37:11 +01:00
base64.c build: make use of 76 lib/*.h renamed files 2012-12-28 19:37:11 +01:00
bundles.c build: make use of 76 lib/*.h renamed files 2012-12-28 19:37:11 +01:00
checksrc.pl
CMakeLists.txt
config-amigaos.h curl tool: use configuration files from lib directory 2012-04-06 23:37:05 +02:00
config-dos.h lib/*.h: use our standard naming scheme for header inclusion guards 2012-12-28 18:21:40 +01:00
config-mac.h curl tool: use configuration files from lib directory 2012-04-06 23:37:05 +02:00
config-os400.h build adjustments: CURL_HIDDEN_SYMBOLS no longer defined in config files 2012-04-11 19:33:54 +02:00
config-riscos.h curl tool: use configuration files from lib directory 2012-04-06 23:37:05 +02:00
config-symbian.h nss: unconditionally require PK11_CreateGenericObject() 2012-04-13 12:19:36 +02:00
config-tpf.h configure: Windows cross-compilation fixes 2012-04-09 21:24:16 +02:00
config-vms.h lib/*.h: use our standard naming scheme for header inclusion guards 2012-12-28 18:21:40 +01:00
config-vxworks.h nss: unconditionally require PK11_CreateGenericObject() 2012-04-13 12:19:36 +02:00
config-win32.h
config-win32ce.h unicode NTLM SSPI: cleanup 2012-07-05 22:18:11 +02:00
conncache.c build: make use of 76 lib/*.h renamed files 2012-12-28 19:37:11 +01:00
connect.c build: make use of 76 lib/*.h renamed files 2012-12-28 19:37:11 +01:00
content_encoding.c build: make use of 76 lib/*.h renamed files 2012-12-28 19:37:11 +01:00
cookie.c build: make use of 76 lib/*.h renamed files 2012-12-28 19:37:11 +01:00
curl_addrinfo.c build: make use of 76 lib/*.h renamed files 2012-12-28 19:37:11 +01:00
curl_addrinfo.h build: make use of 76 lib/*.h renamed files 2012-12-28 19:37:11 +01:00
curl_amigaos.h build: rename 76 lib/*.h files 2012-12-28 20:21:56 +01:00
curl_arpa_telnet.h build: rename 76 lib/*.h files 2012-12-28 20:21:56 +01:00
curl_asyn.h build: rename 76 lib/*.h files 2012-12-28 20:21:56 +01:00
curl_axtls.h build: rename 76 lib/*.h files 2012-12-28 20:21:56 +01:00
curl_base64.h
curl_bundles.h build: rename 76 lib/*.h files 2012-12-28 20:21:56 +01:00
curl_config.h.cmake nss: unconditionally require PK11_CreateGenericObject() 2012-04-13 12:19:36 +02:00
curl_conncache.h build: rename 76 lib/*.h files 2012-12-28 20:21:56 +01:00
curl_connect.h build: rename 76 lib/*.h files 2012-12-28 20:21:56 +01:00
curl_content_encoding.h build: rename 76 lib/*.h files 2012-12-28 20:21:56 +01:00
curl_cookie.h build: rename 76 lib/*.h files 2012-12-28 20:21:56 +01:00
curl_cyassl.h build: rename 76 lib/*.h files 2012-12-28 20:21:56 +01:00
curl_darwinssl.c build: make use of 76 lib/*.h renamed files 2012-12-28 19:37:11 +01:00
curl_darwinssl.h build: make use of 76 lib/*.h renamed files 2012-12-28 19:37:11 +01:00
curl_dict.h build: rename 76 lib/*.h files 2012-12-28 20:21:56 +01:00
curl_easyif.h build: rename 76 lib/*.h files 2012-12-28 20:21:56 +01:00
curl_escape.h build: rename 76 lib/*.h files 2012-12-28 20:21:56 +01:00
curl_file.h build: rename 76 lib/*.h files 2012-12-28 20:21:56 +01:00
curl_fileinfo.h build: rename 76 lib/*.h files 2012-12-28 20:21:56 +01:00
curl_fnmatch.c build: make use of 76 lib/*.h renamed files 2012-12-28 19:37:11 +01:00
curl_fnmatch.h
curl_formdata.h build: rename 76 lib/*.h files 2012-12-28 20:21:56 +01:00
curl_ftp.h build: rename 76 lib/*.h files 2012-12-28 20:21:56 +01:00
curl_ftplistparser.h build: rename 76 lib/*.h files 2012-12-28 20:21:56 +01:00
curl_gethostname.c build: make use of 76 lib/*.h renamed files 2012-12-28 19:37:11 +01:00
curl_gethostname.h HOSTNAME_MAX: Moved to curl_gethostname.h 2011-09-25 23:58:47 +02:00
curl_getinfo.h build: rename 76 lib/*.h files 2012-12-28 20:21:56 +01:00
curl_gopher.h build: rename 76 lib/*.h files 2012-12-28 20:21:56 +01:00
curl_gssapi.c build: make use of 76 lib/*.h renamed files 2012-12-28 19:37:11 +01:00
curl_gssapi.h build: make use of 76 lib/*.h renamed files 2012-12-28 19:37:11 +01:00
curl_gtls.h build: rename 76 lib/*.h files 2012-12-28 20:21:56 +01:00
curl_hash.h build: rename 76 lib/*.h files 2012-12-28 20:21:56 +01:00
curl_hmac.h
curl_hostcheck.h build: rename 76 lib/*.h files 2012-12-28 20:21:56 +01:00
curl_hostip.h build: rename 76 lib/*.h files 2012-12-28 20:21:56 +01:00
curl_http_chunks.h build: rename 76 lib/*.h files 2012-12-28 20:21:56 +01:00
curl_http_digest.h build: rename 76 lib/*.h files 2012-12-28 20:21:56 +01:00
curl_http_negotiate.h build: rename 76 lib/*.h files 2012-12-28 20:21:56 +01:00
curl_http_proxy.h build: rename 76 lib/*.h files 2012-12-28 20:21:56 +01:00
curl_http.h build: rename 76 lib/*.h files 2012-12-28 20:21:56 +01:00
curl_if2ip.h build: rename 76 lib/*.h files 2012-12-28 20:21:56 +01:00
curl_imap.h imap: Code tidy up prior to adding support for the CAPABILITY command 2012-12-30 12:44:09 +00:00
curl_inet_ntop.h build: rename 76 lib/*.h files 2012-12-28 20:21:56 +01:00
curl_inet_pton.h build: rename 76 lib/*.h files 2012-12-28 20:21:56 +01:00
curl_krb4.h build: rename 76 lib/*.h files 2012-12-28 20:21:56 +01:00
curl_ldap.h lib/*.h: use our standard naming scheme for header inclusion guards 2012-12-28 18:21:40 +01:00
curl_llist.h build: rename 76 lib/*.h files 2012-12-28 20:21:56 +01:00
curl_md4.h build: make use of 76 lib/*.h renamed files 2012-12-28 19:37:11 +01:00
curl_md5.h Fixed compile error with GNUTLS+NETTLE 2012-05-22 16:40:09 +02:00
curl_memdebug.h build: rename 76 lib/*.h files 2012-12-28 20:21:56 +01:00
curl_memory.h
curl_memrchr.c build: make use of 76 lib/*.h renamed files 2012-12-28 19:37:11 +01:00
curl_memrchr.h build: make use of 76 lib/*.h renamed files 2012-12-28 19:37:11 +01:00
curl_multibyte.c build: make use of 76 lib/*.h renamed files 2012-12-28 19:37:11 +01:00
curl_multibyte.h build: make use of 76 lib/*.h renamed files 2012-12-28 19:37:11 +01:00
curl_multiif.h build: rename 76 lib/*.h files 2012-12-28 20:21:56 +01:00
curl_netrc.h build: rename 76 lib/*.h files 2012-12-28 20:21:56 +01:00
curl_non-ascii.h build: rename 76 lib/*.h files 2012-12-28 20:21:56 +01:00
curl_nonblock.h build: rename 76 lib/*.h files 2012-12-28 20:21:56 +01:00
curl_nssg.h build: rename 76 lib/*.h files 2012-12-28 20:21:56 +01:00
curl_ntlm_core.c build: make use of 76 lib/*.h renamed files 2012-12-28 19:37:11 +01:00
curl_ntlm_core.h build: make use of 76 lib/*.h renamed files 2012-12-28 19:37:11 +01:00
curl_ntlm_msgs.c build: make use of 76 lib/*.h renamed files 2012-12-28 19:37:11 +01:00
curl_ntlm_msgs.h build: make use of 76 lib/*.h renamed files 2012-12-28 19:37:11 +01:00
curl_ntlm_wb.c build: make use of 76 lib/*.h renamed files 2012-12-28 19:37:11 +01:00
curl_ntlm_wb.h build: make use of 76 lib/*.h renamed files 2012-12-28 19:37:11 +01:00
curl_ntlm.c build: make use of 76 lib/*.h renamed files 2012-12-28 19:37:11 +01:00
curl_ntlm.h build: make use of 76 lib/*.h renamed files 2012-12-28 19:37:11 +01:00
curl_parsedate.h build: rename 76 lib/*.h files 2012-12-28 20:21:56 +01:00
curl_pingpong.h build: rename 76 lib/*.h files 2012-12-28 20:21:56 +01:00
curl_polarssl.h build: rename 76 lib/*.h files 2012-12-28 20:21:56 +01:00
curl_pop3.h build: rename 76 lib/*.h files 2012-12-28 20:21:56 +01:00
curl_progress.h build: rename 76 lib/*.h files 2012-12-28 20:21:56 +01:00
curl_qssl.h build: rename 76 lib/*.h files 2012-12-28 20:21:56 +01:00
curl_rand.c build: make use of 76 lib/*.h renamed files 2012-12-28 19:37:11 +01:00
curl_rand.h
curl_rawstr.h build: rename 76 lib/*.h files 2012-12-28 20:21:56 +01:00
curl_rtmp.c build: make use of 76 lib/*.h renamed files 2012-12-28 19:37:11 +01:00
curl_rtmp.h
curl_rtsp.h build: rename 76 lib/*.h files 2012-12-28 20:21:56 +01:00
curl_sasl.c build: make use of 76 lib/*.h renamed files 2012-12-28 19:37:11 +01:00
curl_sasl.h build: make use of 76 lib/*.h renamed files 2012-12-28 19:37:11 +01:00
curl_schannel.c build: make use of 76 lib/*.h renamed files 2012-12-28 19:37:11 +01:00
curl_schannel.h build: make use of 76 lib/*.h renamed files 2012-12-28 19:37:11 +01:00
curl_select.h build: rename 76 lib/*.h files 2012-12-28 20:21:56 +01:00
curl_sendf.h build: rename 76 lib/*.h files 2012-12-28 20:21:56 +01:00
curl_setup_once.h build: rename 76 lib/*.h files 2012-12-28 20:21:56 +01:00
curl_setup.h build: rename 76 lib/*.h files 2012-12-28 20:21:56 +01:00
curl_share.h build: rename 76 lib/*.h files 2012-12-28 20:21:56 +01:00
curl_slist.h build: rename 76 lib/*.h files 2012-12-28 20:21:56 +01:00
curl_smtp.h smtp: Minor code tidy up 2012-12-28 20:22:33 +00:00
curl_sockaddr.h build: rename 76 lib/*.h files 2012-12-28 20:21:56 +01:00
curl_socks.h build: rename 76 lib/*.h files 2012-12-28 20:21:56 +01:00
curl_speedcheck.h build: rename 76 lib/*.h files 2012-12-28 20:21:56 +01:00
curl_splay.h build: rename 76 lib/*.h files 2012-12-28 20:21:56 +01:00
curl_ssh.h build: rename 76 lib/*.h files 2012-12-28 20:21:56 +01:00
curl_sslgen.h build: rename 76 lib/*.h files 2012-12-28 20:21:56 +01:00
curl_ssluse.h build: rename 76 lib/*.h files 2012-12-28 20:21:56 +01:00
curl_sspi.c build: make use of 76 lib/*.h renamed files 2012-12-28 19:37:11 +01:00
curl_sspi.h build: make use of 76 lib/*.h renamed files 2012-12-28 19:37:11 +01:00
curl_strdup.h build: rename 76 lib/*.h files 2012-12-28 20:21:56 +01:00
curl_strequal.h build: rename 76 lib/*.h files 2012-12-28 20:21:56 +01:00
curl_strerror.h build: rename 76 lib/*.h files 2012-12-28 20:21:56 +01:00
curl_strtok.h build: rename 76 lib/*.h files 2012-12-28 20:21:56 +01:00
curl_strtoofft.h build: rename 76 lib/*.h files 2012-12-28 20:21:56 +01:00
curl_telnet.h build: rename 76 lib/*.h files 2012-12-28 20:21:56 +01:00
curl_tftp.h build: rename 76 lib/*.h files 2012-12-28 20:21:56 +01:00
curl_threads.c build: make use of 76 lib/*.h renamed files 2012-12-28 19:37:11 +01:00
curl_threads.h build: make use of 76 lib/*.h renamed files 2012-12-28 19:37:11 +01:00
curl_timeval.h build: rename 76 lib/*.h files 2012-12-28 20:21:56 +01:00
curl_transfer.h build: rename 76 lib/*.h files 2012-12-28 20:21:56 +01:00
curl_url.h build: rename 76 lib/*.h files 2012-12-28 20:21:56 +01:00
curl_urldata.h build: rename 76 lib/*.h files 2012-12-28 20:21:56 +01:00
curl_warnless.h build: rename 76 lib/*.h files 2012-12-28 20:21:56 +01:00
curl_wildcard.h build: rename 76 lib/*.h files 2012-12-28 20:21:56 +01:00
curlx.h build: make use of 76 lib/*.h renamed files 2012-12-28 19:37:11 +01:00
cyassl.c build: make use of 76 lib/*.h renamed files 2012-12-28 19:37:11 +01:00
dict.c build: make use of 76 lib/*.h renamed files 2012-12-28 19:37:11 +01:00
easy.c build: make use of 76 lib/*.h renamed files 2012-12-28 19:37:11 +01:00
escape.c build: make use of 76 lib/*.h renamed files 2012-12-28 19:37:11 +01:00
file.c build: make use of 76 lib/*.h renamed files 2012-12-28 19:37:11 +01:00
fileinfo.c build: make use of 76 lib/*.h renamed files 2012-12-28 19:37:11 +01:00
firefox-db2pem.sh
formdata.c build: make use of 76 lib/*.h renamed files 2012-12-28 19:37:11 +01:00
ftp.c build: make use of 76 lib/*.h renamed files 2012-12-28 19:37:11 +01:00
ftplistparser.c build: make use of 76 lib/*.h renamed files 2012-12-28 19:37:11 +01:00
getenv.c build: make use of 76 lib/*.h renamed files 2012-12-28 19:37:11 +01:00
getinfo.c build: make use of 76 lib/*.h renamed files 2012-12-28 19:37:11 +01:00
gopher.c build: make use of 76 lib/*.h renamed files 2012-12-28 19:37:11 +01:00
gtls.c build: make use of 76 lib/*.h renamed files 2012-12-28 19:37:11 +01:00
hash.c build: make use of 76 lib/*.h renamed files 2012-12-28 19:37:11 +01:00
hmac.c build: make use of 76 lib/*.h renamed files 2012-12-28 19:37:11 +01:00
hostasyn.c build: make use of 76 lib/*.h renamed files 2012-12-28 19:37:11 +01:00
hostcheck.c build: make use of 76 lib/*.h renamed files 2012-12-28 19:37:11 +01:00
hostip4.c build: make use of 76 lib/*.h renamed files 2012-12-28 19:37:11 +01:00
hostip6.c build: make use of 76 lib/*.h renamed files 2012-12-28 19:37:11 +01:00
hostip.c build: make use of 76 lib/*.h renamed files 2012-12-28 19:37:11 +01:00
hostsyn.c build: make use of 76 lib/*.h renamed files 2012-12-28 19:37:11 +01:00
http_chunks.c build: make use of 76 lib/*.h renamed files 2012-12-28 19:37:11 +01:00
http_digest.c build: make use of 76 lib/*.h renamed files 2012-12-28 19:37:11 +01:00
http_negotiate_sspi.c build: make use of 76 lib/*.h renamed files 2012-12-28 19:37:11 +01:00
http_negotiate.c build: make use of 76 lib/*.h renamed files 2012-12-28 19:37:11 +01:00
http_proxy.c build: make use of 76 lib/*.h renamed files 2012-12-28 19:37:11 +01:00
http.c build: make use of 76 lib/*.h renamed files 2012-12-28 19:37:11 +01:00
idn_win32.c build: make use of 76 lib/*.h renamed files 2012-12-28 19:37:11 +01:00
if2ip.c build: make use of 76 lib/*.h renamed files 2012-12-28 19:37:11 +01:00
imap.c imap: Code tidy up prior to adding support for the CAPABILITY command 2012-12-30 12:44:09 +00:00
inet_ntop.c build: make use of 76 lib/*.h renamed files 2012-12-28 19:37:11 +01:00
inet_pton.c build: make use of 76 lib/*.h renamed files 2012-12-28 19:37:11 +01:00
krb4.c build: make use of 76 lib/*.h renamed files 2012-12-28 19:37:11 +01:00
krb5.c build: make use of 76 lib/*.h renamed files 2012-12-28 19:37:11 +01:00
ldap.c build: make use of 76 lib/*.h renamed files 2012-12-28 19:37:11 +01:00
libcurl.def
libcurl.plist removed trailing whitespace 2011-12-30 03:36:18 +01:00
libcurl.rc
libcurl.vers.in configure: add symbols versioning option 2011-12-19 23:25:36 +01:00
llist.c build: make use of 76 lib/*.h renamed files 2012-12-28 19:37:11 +01:00
Makefile.am build: explain current role of LIBS in our Makefile.am files 2012-12-04 23:32:05 +01:00
makefile.amiga curl tool: use configuration files from lib directory - follow-up I 2012-04-07 00:31:24 +02:00
Makefile.b32 Updated dependency libary versions. 2012-05-22 04:15:37 +02:00
makefile.dj
Makefile.inc build: make use of 76 lib/*.h renamed files 2012-12-28 19:37:11 +01:00
Makefile.m32 Added .def file to output. 2012-11-08 18:50:48 +01:00
Makefile.netware Added missing dependency to export list. 2012-07-11 16:52:48 +02:00
Makefile.vc6 build: add bundles and conncache files to other build systems 2012-12-10 17:32:35 +01:00
Makefile.vxworks Updated dependency libary versions. 2012-05-22 04:15:37 +02:00
Makefile.Watcom Updated dependency libary versions. 2012-05-22 04:15:37 +02:00
md4.c build: make use of 76 lib/*.h renamed files 2012-12-28 19:37:11 +01:00
md5.c build: make use of 76 lib/*.h renamed files 2012-12-28 19:37:11 +01:00
memdebug.c build: make use of 76 lib/*.h renamed files 2012-12-28 19:37:11 +01:00
mk-ca-bundle.pl mk-ca-bundle: detect start of trust section better 2012-09-04 23:21:15 +02:00
mk-ca-bundle.vbs Fix to skip untrusted certs. 2011-11-08 05:46:46 +01:00
mprintf.c build: make use of 76 lib/*.h renamed files 2012-12-28 19:37:11 +01:00
msvcproj.foot
msvcproj.head VC6 IDE: link with advapi32.lib when using WIN32 crypto API (md5.c) 2012-12-18 13:29:45 +01:00
multi.c build: make use of 76 lib/*.h renamed files 2012-12-28 19:37:11 +01:00
netrc.c build: make use of 76 lib/*.h renamed files 2012-12-28 19:37:11 +01:00
non-ascii.c build: make use of 76 lib/*.h renamed files 2012-12-28 19:37:11 +01:00
nonblock.c build: make use of 76 lib/*.h renamed files 2012-12-28 19:37:11 +01:00
nss.c build: make use of 76 lib/*.h renamed files 2012-12-28 19:37:11 +01:00
nwlib.c build: make use of 76 lib/*.h renamed files 2012-12-28 19:37:11 +01:00
nwos.c build: make use of 76 lib/*.h renamed files 2012-12-28 19:37:11 +01:00
openldap.c build: make use of 76 lib/*.h renamed files 2012-12-28 19:37:11 +01:00
parsedate.c build: make use of 76 lib/*.h renamed files 2012-12-28 19:37:11 +01:00
pingpong.c build: make use of 76 lib/*.h renamed files 2012-12-28 19:37:11 +01:00
polarssl.c build: make use of 76 lib/*.h renamed files 2012-12-28 19:37:11 +01:00
pop3.c pop3_doing: Applied debug info message when function fails 2012-12-29 23:26:17 +00:00
progress.c build: make use of 76 lib/*.h renamed files 2012-12-28 19:37:11 +01:00
qssl.c build: make use of 76 lib/*.h renamed files 2012-12-28 19:37:11 +01:00
rawstr.c build: make use of 76 lib/*.h renamed files 2012-12-28 19:37:11 +01:00
README.ares
README.curl_off_t
README.curlx
README.encoding
README.hostip build: make use of 76 lib/*.h renamed files 2012-12-28 19:37:11 +01:00
README.httpauth
README.memoryleak
README.multi_socket
README.pingpong
README.pipelining
rtsp.c build: make use of 76 lib/*.h renamed files 2012-12-28 19:37:11 +01:00
security.c build: make use of 76 lib/*.h renamed files 2012-12-28 19:37:11 +01:00
select.c build: make use of 76 lib/*.h renamed files 2012-12-28 19:37:11 +01:00
sendf.c build: make use of 76 lib/*.h renamed files 2012-12-28 19:37:11 +01:00
setup-os400.h
share.c build: make use of 76 lib/*.h renamed files 2012-12-28 19:37:11 +01:00
slist.c build: make use of 76 lib/*.h renamed files 2012-12-28 19:37:11 +01:00
smtp.c smtp_doing: don't call smtp_dophase_done() if already failed 2012-12-29 23:06:25 +00:00
socks_gssapi.c build: make use of 76 lib/*.h renamed files 2012-12-28 19:37:11 +01:00
socks_sspi.c build: make use of 76 lib/*.h renamed files 2012-12-28 19:37:11 +01:00
socks.c build: make use of 76 lib/*.h renamed files 2012-12-28 19:37:11 +01:00
speedcheck.c build: make use of 76 lib/*.h renamed files 2012-12-28 19:37:11 +01:00
splay.c build: make use of 76 lib/*.h renamed files 2012-12-28 19:37:11 +01:00
ssh.c build: make use of 76 lib/*.h renamed files 2012-12-28 19:37:11 +01:00
sslgen.c build: make use of 76 lib/*.h renamed files 2012-12-28 19:37:11 +01:00
ssluse.c build: make use of 76 lib/*.h renamed files 2012-12-28 19:37:11 +01:00
strdup.c build: make use of 76 lib/*.h renamed files 2012-12-28 19:37:11 +01:00
strequal.c build: make use of 76 lib/*.h renamed files 2012-12-28 19:37:11 +01:00
strerror.c build: make use of 76 lib/*.h renamed files 2012-12-28 19:37:11 +01:00
strtok.c build: make use of 76 lib/*.h renamed files 2012-12-28 19:37:11 +01:00
strtoofft.c build: make use of 76 lib/*.h renamed files 2012-12-28 19:37:11 +01:00
telnet.c build: make use of 76 lib/*.h renamed files 2012-12-28 19:37:11 +01:00
tftp.c build: make use of 76 lib/*.h renamed files 2012-12-28 19:37:11 +01:00
timeval.c build: make use of 76 lib/*.h renamed files 2012-12-28 19:37:11 +01:00
transfer.c build: make use of 76 lib/*.h renamed files 2012-12-28 19:37:11 +01:00
url.c build: make use of 76 lib/*.h renamed files 2012-12-28 19:37:11 +01:00
vc6libcurl.dsw
vc8proj.foot
vc8proj.head
version.c build: make use of 76 lib/*.h renamed files 2012-12-28 19:37:11 +01:00
warnless.c build: make use of 76 lib/*.h renamed files 2012-12-28 19:37:11 +01:00
wildcard.c build: make use of 76 lib/*.h renamed files 2012-12-28 19:37:11 +01: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.