mirror of
https://github.com/moparisthebest/curl
synced 2024-11-15 14:05:03 -05:00
5b6e7927c6
93 lib/*.c source files renamed to use our standard naming scheme. This commit only does the file renaming. ---------------------------------------- renamed: lib/amigaos.c -> lib/curl_amigaos.c renamed: lib/asyn-ares.c -> lib/curl_asyn_ares.c renamed: lib/asyn-thread.c -> lib/curl_asyn_thread.c renamed: lib/axtls.c -> lib/curl_axtls.c renamed: lib/base64.c -> lib/curl_base64.c renamed: lib/bundles.c -> lib/curl_bundles.c renamed: lib/conncache.c -> lib/curl_conncache.c renamed: lib/connect.c -> lib/curl_connect.c renamed: lib/content_encoding.c -> lib/curl_content_encoding.c renamed: lib/cookie.c -> lib/curl_cookie.c renamed: lib/cyassl.c -> lib/curl_cyassl.c renamed: lib/dict.c -> lib/curl_dict.c renamed: lib/easy.c -> lib/curl_easy.c renamed: lib/escape.c -> lib/curl_escape.c renamed: lib/file.c -> lib/curl_file.c renamed: lib/fileinfo.c -> lib/curl_fileinfo.c renamed: lib/formdata.c -> lib/curl_formdata.c renamed: lib/ftp.c -> lib/curl_ftp.c renamed: lib/ftplistparser.c -> lib/curl_ftplistparser.c renamed: lib/getenv.c -> lib/curl_getenv.c renamed: lib/getinfo.c -> lib/curl_getinfo.c renamed: lib/gopher.c -> lib/curl_gopher.c renamed: lib/gtls.c -> lib/curl_gtls.c renamed: lib/hash.c -> lib/curl_hash.c renamed: lib/hmac.c -> lib/curl_hmac.c renamed: lib/hostasyn.c -> lib/curl_hostasyn.c renamed: lib/hostcheck.c -> lib/curl_hostcheck.c renamed: lib/hostip.c -> lib/curl_hostip.c renamed: lib/hostip4.c -> lib/curl_hostip4.c renamed: lib/hostip6.c -> lib/curl_hostip6.c renamed: lib/hostsyn.c -> lib/curl_hostsyn.c renamed: lib/http.c -> lib/curl_http.c renamed: lib/http_chunks.c -> lib/curl_http_chunks.c renamed: lib/http_digest.c -> lib/curl_http_digest.c renamed: lib/http_negotiate.c -> lib/curl_http_negotiate.c renamed: lib/http_negotiate_sspi.c -> lib/curl_http_negotiate_sspi.c renamed: lib/http_proxy.c -> lib/curl_http_proxy.c renamed: lib/idn_win32.c -> lib/curl_idn_win32.c renamed: lib/if2ip.c -> lib/curl_if2ip.c renamed: lib/imap.c -> lib/curl_imap.c renamed: lib/inet_ntop.c -> lib/curl_inet_ntop.c renamed: lib/inet_pton.c -> lib/curl_inet_pton.c renamed: lib/krb4.c -> lib/curl_krb4.c renamed: lib/krb5.c -> lib/curl_krb5.c renamed: lib/ldap.c -> lib/curl_ldap.c renamed: lib/llist.c -> lib/curl_llist.c renamed: lib/md4.c -> lib/curl_md4.c renamed: lib/md5.c -> lib/curl_md5.c renamed: lib/memdebug.c -> lib/curl_memdebug.c renamed: lib/mprintf.c -> lib/curl_mprintf.c renamed: lib/multi.c -> lib/curl_multi.c renamed: lib/netrc.c -> lib/curl_netrc.c renamed: lib/non-ascii.c -> lib/curl_non_ascii.c renamed: lib/curl_non-ascii.h -> lib/curl_non_ascii.h renamed: lib/nonblock.c -> lib/curl_nonblock.c renamed: lib/nss.c -> lib/curl_nss.c renamed: lib/nwlib.c -> lib/curl_nwlib.c renamed: lib/nwos.c -> lib/curl_nwos.c renamed: lib/openldap.c -> lib/curl_openldap.c renamed: lib/parsedate.c -> lib/curl_parsedate.c renamed: lib/pingpong.c -> lib/curl_pingpong.c renamed: lib/polarssl.c -> lib/curl_polarssl.c renamed: lib/pop3.c -> lib/curl_pop3.c renamed: lib/progress.c -> lib/curl_progress.c renamed: lib/qssl.c -> lib/curl_qssl.c renamed: lib/rawstr.c -> lib/curl_rawstr.c renamed: lib/rtsp.c -> lib/curl_rtsp.c renamed: lib/security.c -> lib/curl_security.c renamed: lib/select.c -> lib/curl_select.c renamed: lib/sendf.c -> lib/curl_sendf.c renamed: lib/share.c -> lib/curl_share.c renamed: lib/slist.c -> lib/curl_slist.c renamed: lib/smtp.c -> lib/curl_smtp.c renamed: lib/socks.c -> lib/curl_socks.c renamed: lib/socks_gssapi.c -> lib/curl_socks_gssapi.c renamed: lib/socks_sspi.c -> lib/curl_socks_sspi.c renamed: lib/speedcheck.c -> lib/curl_speedcheck.c renamed: lib/splay.c -> lib/curl_splay.c renamed: lib/ssh.c -> lib/curl_ssh.c renamed: lib/sslgen.c -> lib/curl_sslgen.c renamed: lib/ssluse.c -> lib/curl_ssluse.c renamed: lib/strdup.c -> lib/curl_strdup.c renamed: lib/strequal.c -> lib/curl_strequal.c renamed: lib/strerror.c -> lib/curl_strerror.c renamed: lib/strtok.c -> lib/curl_strtok.c renamed: lib/strtoofft.c -> lib/curl_strtoofft.c renamed: lib/telnet.c -> lib/curl_telnet.c renamed: lib/tftp.c -> lib/curl_tftp.c renamed: lib/timeval.c -> lib/curl_timeval.c renamed: lib/transfer.c -> lib/curl_transfer.c renamed: lib/url.c -> lib/curl_url.c renamed: lib/version.c -> lib/curl_version.c renamed: lib/warnless.c -> lib/curl_warnless.c renamed: lib/wildcard.c -> lib/curl_wildcard.c ---------------------------------------- |
||
---|---|---|
.. | ||
.gitignore | ||
checksrc.pl | ||
CMakeLists.txt | ||
config-amigaos.h | ||
config-dos.h | ||
config-mac.h | ||
config-os400.h | ||
config-riscos.h | ||
config-symbian.h | ||
config-tpf.h | ||
config-vms.h | ||
config-vxworks.h | ||
config-win32.h | ||
config-win32ce.h | ||
curl_addrinfo.c | ||
curl_addrinfo.h | ||
curl_amigaos.c | ||
curl_amigaos.h | ||
curl_arpa_telnet.h | ||
curl_asyn_ares.c | ||
curl_asyn_thread.c | ||
curl_asyn.h | ||
curl_axtls.c | ||
curl_axtls.h | ||
curl_base64.c | ||
curl_base64.h | ||
curl_bundles.c | ||
curl_bundles.h | ||
curl_config.h.cmake | ||
curl_conncache.c | ||
curl_conncache.h | ||
curl_connect.c | ||
curl_connect.h | ||
curl_content_encoding.c | ||
curl_content_encoding.h | ||
curl_cookie.c | ||
curl_cookie.h | ||
curl_cyassl.c | ||
curl_cyassl.h | ||
curl_darwinssl.c | ||
curl_darwinssl.h | ||
curl_dict.c | ||
curl_dict.h | ||
curl_easy.c | ||
curl_easyif.h | ||
curl_escape.c | ||
curl_escape.h | ||
curl_file.c | ||
curl_file.h | ||
curl_fileinfo.c | ||
curl_fileinfo.h | ||
curl_fnmatch.c | ||
curl_fnmatch.h | ||
curl_formdata.c | ||
curl_formdata.h | ||
curl_ftp.c | ||
curl_ftp.h | ||
curl_ftplistparser.c | ||
curl_ftplistparser.h | ||
curl_getenv.c | ||
curl_gethostname.c | ||
curl_gethostname.h | ||
curl_getinfo.c | ||
curl_getinfo.h | ||
curl_gopher.c | ||
curl_gopher.h | ||
curl_gssapi.c | ||
curl_gssapi.h | ||
curl_gtls.c | ||
curl_gtls.h | ||
curl_hash.c | ||
curl_hash.h | ||
curl_hmac.c | ||
curl_hmac.h | ||
curl_hostasyn.c | ||
curl_hostcheck.c | ||
curl_hostcheck.h | ||
curl_hostip4.c | ||
curl_hostip6.c | ||
curl_hostip.c | ||
curl_hostip.h | ||
curl_hostsyn.c | ||
curl_http_chunks.c | ||
curl_http_chunks.h | ||
curl_http_digest.c | ||
curl_http_digest.h | ||
curl_http_negotiate_sspi.c | ||
curl_http_negotiate.c | ||
curl_http_negotiate.h | ||
curl_http_proxy.c | ||
curl_http_proxy.h | ||
curl_http.c | ||
curl_http.h | ||
curl_idn_win32.c | ||
curl_if2ip.c | ||
curl_if2ip.h | ||
curl_imap.c | ||
curl_imap.h | ||
curl_inet_ntop.c | ||
curl_inet_ntop.h | ||
curl_inet_pton.c | ||
curl_inet_pton.h | ||
curl_krb4.c | ||
curl_krb4.h | ||
curl_krb5.c | ||
curl_ldap.c | ||
curl_ldap.h | ||
curl_llist.c | ||
curl_llist.h | ||
curl_md4.c | ||
curl_md4.h | ||
curl_md5.c | ||
curl_md5.h | ||
curl_memdebug.c | ||
curl_memdebug.h | ||
curl_memory.h | ||
curl_memrchr.c | ||
curl_memrchr.h | ||
curl_mprintf.c | ||
curl_multi.c | ||
curl_multibyte.c | ||
curl_multibyte.h | ||
curl_multiif.h | ||
curl_netrc.c | ||
curl_netrc.h | ||
curl_non_ascii.c | ||
curl_non_ascii.h | ||
curl_nonblock.c | ||
curl_nonblock.h | ||
curl_nss.c | ||
curl_nssg.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 | ||
curl_ntlm.c | ||
curl_ntlm.h | ||
curl_nwlib.c | ||
curl_nwos.c | ||
curl_openldap.c | ||
curl_parsedate.c | ||
curl_parsedate.h | ||
curl_pingpong.c | ||
curl_pingpong.h | ||
curl_polarssl.c | ||
curl_polarssl.h | ||
curl_pop3.c | ||
curl_pop3.h | ||
curl_progress.c | ||
curl_progress.h | ||
curl_qssl.c | ||
curl_qssl.h | ||
curl_rand.c | ||
curl_rand.h | ||
curl_rawstr.c | ||
curl_rawstr.h | ||
curl_rtmp.c | ||
curl_rtmp.h | ||
curl_rtsp.c | ||
curl_rtsp.h | ||
curl_sasl.c | ||
curl_sasl.h | ||
curl_schannel.c | ||
curl_schannel.h | ||
curl_security.c | ||
curl_select.c | ||
curl_select.h | ||
curl_sendf.c | ||
curl_sendf.h | ||
curl_setup_once.h | ||
curl_setup.h | ||
curl_share.c | ||
curl_share.h | ||
curl_slist.c | ||
curl_slist.h | ||
curl_smtp.c | ||
curl_smtp.h | ||
curl_sockaddr.h | ||
curl_socks_gssapi.c | ||
curl_socks_sspi.c | ||
curl_socks.c | ||
curl_socks.h | ||
curl_speedcheck.c | ||
curl_speedcheck.h | ||
curl_splay.c | ||
curl_splay.h | ||
curl_ssh.c | ||
curl_ssh.h | ||
curl_sslgen.c | ||
curl_sslgen.h | ||
curl_ssluse.c | ||
curl_ssluse.h | ||
curl_sspi.c | ||
curl_sspi.h | ||
curl_strdup.c | ||
curl_strdup.h | ||
curl_strequal.c | ||
curl_strequal.h | ||
curl_strerror.c | ||
curl_strerror.h | ||
curl_strtok.c | ||
curl_strtok.h | ||
curl_strtoofft.c | ||
curl_strtoofft.h | ||
curl_telnet.c | ||
curl_telnet.h | ||
curl_tftp.c | ||
curl_tftp.h | ||
curl_threads.c | ||
curl_threads.h | ||
curl_timeval.c | ||
curl_timeval.h | ||
curl_transfer.c | ||
curl_transfer.h | ||
curl_url.c | ||
curl_url.h | ||
curl_urldata.h | ||
curl_version.c | ||
curl_warnless.c | ||
curl_warnless.h | ||
curl_wildcard.c | ||
curl_wildcard.h | ||
curlx.h | ||
firefox-db2pem.sh | ||
libcurl.def | ||
libcurl.plist | ||
libcurl.rc | ||
libcurl.vers.in | ||
Makefile.am | ||
makefile.amiga | ||
Makefile.b32 | ||
makefile.dj | ||
Makefile.inc | ||
Makefile.m32 | ||
Makefile.netware | ||
Makefile.vc6 | ||
Makefile.vxworks | ||
Makefile.Watcom | ||
mk-ca-bundle.pl | ||
mk-ca-bundle.vbs | ||
msvcproj.foot | ||
msvcproj.head | ||
objnames-test.sh | ||
objnames.inc | ||
README.ares | ||
README.curl_off_t | ||
README.curlx | ||
README.encoding | ||
README.hostip | ||
README.httpauth | ||
README.memoryleak | ||
README.multi_socket | ||
README.pingpong | ||
README.pipelining | ||
setup-os400.h | ||
vc6libcurl.dsw | ||
vc8proj.foot | ||
vc8proj.head |
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.