curl/src
Nathaniel Waisbrot 9756d1da76 CURLOPT_DEFAULT_PROTOCOL: added
- Add new option CURLOPT_DEFAULT_PROTOCOL to allow specifying a default
protocol for schemeless URLs.

- Add new tool option --proto-default to expose
CURLOPT_DEFAULT_PROTOCOL.

In the case of schemeless URLs libcurl will behave in this way:

When the option is used libcurl will use the supplied default.

When the option is not used, libcurl will follow its usual plan of
guessing from the hostname and falling back to 'http'.
2015-08-22 21:57:14 -04:00
..
macos code/docs: Use Unix rather than UNIX to avoid use of the trademark 2014-12-26 21:42:44 +00:00
.gitignore gitignore: Sort for readability 2015-08-18 01:03:05 -04:00
checksrc.whitelist checksrc: detect fopen() for text without the FOPEN_* macros 2015-06-02 08:28:10 +02:00
CMakeLists.txt CMake: Fix generation of tool_hugehelp.c on windows 2015-02-19 20:11:20 +01:00
curl.rc curl tool: reviewed code moved to tool_*.[ch] files 2011-10-06 17:39:00 +02:00
Makefile.am dist: include {src,lib}/checksrc.whitelist 2015-04-22 13:16:04 +02:00
makefile.amiga build: Renamed CURLX_ONES file list definition to CURLX_CFILES 2014-05-21 23:11:51 +01:00
Makefile.b32 build: update depedency versions, urls, example makefiles 2015-04-30 08:29:00 +02:00
makefile.dj Makefile.inc: fix $(top_srcdir) not allowed in _SOURCES variables 2013-01-20 04:20:02 +01:00
Makefile.inc curl_easy_duphandle: CURLOPT_COPYPOSTFIELDS read out of bounds 2014-11-05 08:05:14 +01:00
Makefile.m32 build: refer to fixed libidn versions 2015-08-10 23:20:18 +02:00
Makefile.netware build: update depedency versions, urls, example makefiles 2015-04-30 08:29:00 +02:00
Makefile.vc6 build: update depedency versions, urls, example makefiles 2015-04-30 08:29:00 +02:00
Makefile.Watcom build: update depedency versions, urls, example makefiles 2015-04-30 08:29:00 +02:00
mkhelp.pl mkhelp: Remove trailing carriage return from every line of input 2015-03-18 13:48:36 +01:00
tool_binmode.c copyright: Updated the copyright year following recent updates 2014-12-14 22:39:27 +00:00
tool_binmode.h curl tool: use configuration files from lib directory 2012-04-06 23:37:05 +02:00
tool_bname.c Revert changes relative to lib/*.[ch] recent renaming 2013-01-06 18:20:27 +01:00
tool_bname.h curl tool: use configuration files from lib directory 2012-04-06 23:37:05 +02:00
tool_cb_dbg.c curl_setup: Add macros for FOPEN_READTEXT, FOPEN_WRITETEXT 2015-06-01 03:21:23 -04:00
tool_cb_dbg.h curl tool: use configuration files from lib directory 2012-04-06 23:37:05 +02:00
tool_cb_hdr.c tool_header_cb: fflush the header stream 2015-06-25 11:53:56 -07:00
tool_cb_hdr.h Fixes allowing 26 more test cases in 1334 to 1393 range to succeed 2012-06-09 05:49:49 +02:00
tool_cb_prg.c tool: Moved --stderr to the global config 2014-03-01 13:03:20 +00:00
tool_cb_prg.h tool_cfgable: Renamed Configurable structure to OperationConfig 2014-02-23 13:09:20 +00:00
tool_cb_rea.c Revert changes relative to lib/*.[ch] recent renaming 2013-01-06 18:20:27 +01:00
tool_cb_rea.h curl tool: use configuration files from lib directory 2012-04-06 23:37:05 +02:00
tool_cb_see.c Revert changes relative to lib/*.[ch] recent renaming 2013-01-06 18:20:27 +01:00
tool_cb_see.h curl tool: use configuration files from lib directory 2012-04-06 23:37:05 +02:00
tool_cb_wrt.c src/tool_cb_wrt: separate fnc for output file creation 2015-04-08 09:36:56 +02:00
tool_cb_wrt.h src/tool_operate: create output file on successful download 2015-04-08 09:43:08 +02:00
tool_cfgable.c CURLOPT_DEFAULT_PROTOCOL: added 2015-08-22 21:57:14 -04:00
tool_cfgable.h CURLOPT_DEFAULT_PROTOCOL: added 2015-08-22 21:57:14 -04:00
tool_convert.c Revert changes relative to lib/*.[ch] recent renaming 2013-01-06 18:20:27 +01:00
tool_convert.h curl tool: use configuration files from lib directory 2012-04-06 23:37:05 +02:00
tool_dirhie.c checksrc: use space after comma 2015-03-17 13:57:37 +01:00
tool_dirhie.h curl tool: use configuration files from lib directory 2012-04-06 23:37:05 +02:00
tool_doswin.c tool_cfgable: Renamed Configurable structure to OperationConfig 2014-02-23 13:09:20 +00:00
tool_doswin.h tool: Fixed line longer than 79 characters from commit 705a4cb549 2014-02-23 16:13:09 +00:00
tool_easysrc.c curl_setup: Add macros for FOPEN_READTEXT, FOPEN_WRITETEXT 2015-06-01 03:21:23 -04:00
tool_easysrc.h tool: Moved --libcurl to the global config 2014-03-01 17:23:14 +00:00
tool_formparse.c tool: wrap lines longer than 79 columns 2015-02-28 10:54:59 +01:00
tool_formparse.h tool_cfgable: Renamed Configurable structure to OperationConfig 2014-02-23 13:09:20 +00:00
tool_getparam.c CURLOPT_DEFAULT_PROTOCOL: added 2015-08-22 21:57:14 -04:00
tool_getparam.h CURLOPT_DEFAULT_PROTOCOL: added 2015-08-22 21:57:14 -04:00
tool_getpass.c tool_getpass: remove unused curl/mprintf.h include 2015-03-03 12:09:25 +01:00
tool_getpass.h curl tool: use configuration files from lib directory 2012-04-06 23:37:05 +02:00
tool_help.c CURLOPT_DEFAULT_PROTOCOL: added 2015-08-22 21:57:14 -04:00
tool_help.h tool_getparam: Moved version information into separate function in tool_help 2014-02-22 17:47:13 +00:00
tool_helpers.c CURLOPT_DEFAULT_PROTOCOL: added 2015-08-22 21:57:14 -04:00
tool_helpers.h tool: Fixed line longer than 79 characters from commit 705a4cb549 2014-02-23 16:13:09 +00:00
tool_homedir.c checksrc: use space after comma 2015-03-17 13:57:37 +01:00
tool_homedir.h curl tool: use configuration files from lib directory 2012-04-06 23:37:05 +02:00
tool_hugehelp.c.cvs tool_hugehelp.c.cvs: Added copyright 2014-08-10 20:38:06 +01:00
tool_hugehelp.h tool_hugehelp: partially reverted 24e22e10 2014-02-24 21:30:36 +01:00
tool_libinfo.c curl tool: Enable support for the SMB protocol 2014-11-30 21:32:44 +00:00
tool_libinfo.h curl tool: use configuration files from lib directory 2012-04-06 23:37:05 +02:00
tool_main.c VMS: Updates for 0740-0D1220 2014-12-21 16:55:28 +01:00
tool_main.h curl tool: use configuration files from lib directory 2012-04-06 23:37:05 +02:00
tool_metalink.c metalink: fix resource leak in OOM 2015-03-19 09:08:08 +01:00
tool_metalink.h tool_metalink.h: Fixed compilation warning 2014-03-01 20:16:33 +00:00
tool_mfiles.c Revert changes relative to lib/*.[ch] recent renaming 2013-01-06 18:20:27 +01:00
tool_mfiles.h curl tool: use configuration files from lib directory 2012-04-06 23:37:05 +02:00
tool_msgs.c tool: Updated the warnf() function to use the GlobalConfig structure 2015-02-27 21:05:52 +00:00
tool_msgs.h tool: Updated the warnf() function to use the GlobalConfig structure 2015-02-27 21:05:52 +00:00
tool_operate.c CURLOPT_DEFAULT_PROTOCOL: added 2015-08-22 21:57:14 -04:00
tool_operate.h tool_main: Moved easy handle into global config structure 2014-02-24 20:01:37 +00:00
tool_operhlp.c get_url_file_name: Fixed crash on OOM on debug build 2014-12-07 11:09:14 +01:00
tool_operhlp.h tool_cfgable: Renamed Configurable structure to OperationConfig 2014-02-23 13:09:20 +00:00
tool_panykey.c Revert changes relative to lib/*.[ch] recent renaming 2013-01-06 18:20:27 +01:00
tool_panykey.h curl tool: use configuration files from lib directory 2012-04-06 23:37:05 +02:00
tool_paramhlp.c CURLOPT_DEFAULT_PROTOCOL: added 2015-08-22 21:57:14 -04:00
tool_paramhlp.h CURLOPT_DEFAULT_PROTOCOL: added 2015-08-22 21:57:14 -04:00
tool_parsecfg.c curl_setup: Add macros for FOPEN_READTEXT, FOPEN_WRITETEXT 2015-06-01 03:21:23 -04:00
tool_parsecfg.h tool_getparam: Added global config to getparameter() 2014-02-25 19:38:17 +00:00
tool_sdecls.h tool_cfgable: Renamed Configurable structure to OperationConfig 2014-02-23 13:09:20 +00:00
tool_setopt.c SSL: Add an option to disable certificate revocation checks 2015-07-17 02:40:16 -04:00
tool_setopt.h SSL: Add an option to disable certificate revocation checks 2015-07-17 02:40:16 -04:00
tool_setup.h curl_easy_duphandle: CURLOPT_COPYPOSTFIELDS read out of bounds 2014-11-05 08:05:14 +01:00
tool_sleep.c tool_go_sleep: use (void) to spell out we ignore the return value 2014-10-06 08:53:35 +02:00
tool_sleep.h curl tool: use configuration files from lib directory 2012-04-06 23:37:05 +02:00
tool_strdup.c checksrc: use space after comma 2015-03-17 13:57:37 +01:00
tool_strdup.h curl_easy_duphandle: CURLOPT_COPYPOSTFIELDS read out of bounds 2014-11-05 08:05:14 +01:00
tool_urlglob.c globbing: fix url number calculation when using range with step 2015-03-25 12:48:15 +01:00
tool_urlglob.h checksrc: detect and remove space before trailing semicolons 2015-03-17 14:06:48 +01:00
tool_util.c copyright: Updated the copyright year following recent updates 2014-12-14 22:39:27 +00:00
tool_util.h curl tool: use configuration files from lib directory 2012-04-06 23:37:05 +02:00
tool_version.h curl tool: reviewed code moved to tool_*.[ch] files 2011-10-06 17:39:00 +02:00
tool_vms.c Revert changes relative to lib/*.[ch] recent renaming 2013-01-06 18:20:27 +01:00
tool_vms.h vms_show: post VMS patch cleanup - II 2013-02-06 04:51:55 +01:00
tool_writeenv.c tool_writeenv: remove _MPRINTF_REPLACE define, it wasn't used 2015-03-03 23:00:54 +01:00
tool_writeenv.h curl tool: use configuration files from lib directory 2012-04-06 23:37:05 +02:00
tool_writeout.c tool: use ENABLE_CURLX_PRINTF instead of _MPRINTF_REPLACE 2015-03-03 23:08:02 +01:00
tool_writeout.h curl tool: use configuration files from lib directory 2012-04-06 23:37:05 +02:00
tool_xattr.c tool_xattr: Use 'CURLcode result' for curl result codes 2014-12-25 13:01:34 +00:00
tool_xattr.h curl tool: use configuration files from lib directory 2012-04-06 23:37:05 +02:00