curl/src
Gisle Vanem 859ac36021 tool_getparam: Support size modifiers for --max-filesize
- Move the size modifier detection code from limit-rate to its own
  function so that it can also be used with max-filesize.

Size modifiers are the suffixes such as G (gigabyte), M (megabyte) etc.

For example --max-filesize 1G

Ref: https://curl.haxx.se/mail/archive-2017-12/0000.html

Closes https://github.com/curl/curl/pull/2179
2017-12-26 02:01:48 -05:00
..
macos
.gitignore
CMakeLists.txt cmake: Correctly include curl.rc in Windows builds (#2064) 2017-11-10 13:58:10 +03:00
curl.rc
Makefile.am
makefile.amiga
Makefile.b32
makefile.dj
Makefile.inc mime: use in curl cli tool instead of form API. 2017-09-02 18:17:33 +01:00
Makefile.m32 src/Makefile.m32: fix typo in brotli lib customization 2017-11-06 01:05:52 +00:00
Makefile.netware
Makefile.Watcom
mkhelp.pl mkhelp.pl: support reproducible build 2017-10-30 19:27:49 +01:00
slist_wc.c
slist_wc.h
tool_binmode.c
tool_binmode.h
tool_bname.c
tool_bname.h
tool_cb_dbg.c code style: use spaces around pluses 2017-09-11 09:29:50 +02:00
tool_cb_dbg.h
tool_cb_hdr.c curl: don't pass semicolons when parsing Content-Disposition 2017-10-09 10:37:27 +02:00
tool_cb_hdr.h
tool_cb_prg.c curl: remove __EMX__ #ifdefs 2017-12-08 23:45:16 +01:00
tool_cb_prg.h
tool_cb_rea.c
tool_cb_rea.h
tool_cb_see.c
tool_cb_see.h
tool_cb_wrt.c
tool_cb_wrt.h
tool_cfgable.c mime: use in curl cli tool instead of form API. 2017-09-02 18:17:33 +01:00
tool_cfgable.h curl: speed up handling of many URLs 2017-11-04 20:56:26 +01:00
tool_convert.c
tool_convert.h
tool_dirhie.c
tool_dirhie.h
tool_doswin.c
tool_doswin.h
tool_easysrc.c code style: use spaces around equals signs 2017-09-11 09:29:50 +02:00
tool_easysrc.h mime: use in curl cli tool instead of form API. 2017-09-02 18:17:33 +01:00
tool_formparse.c cli tool: improve ";type=" handling in -F option arguments 2017-10-29 16:23:06 +01:00
tool_formparse.h mime: use in curl cli tool instead of form API. 2017-09-02 18:17:33 +01:00
tool_getparam.c tool_getparam: Support size modifiers for --max-filesize 2017-12-26 02:01:48 -05:00
tool_getparam.h
tool_getpass.c
tool_getpass.h
tool_help.c HTTP: implement Brotli content encoding 2017-11-05 15:28:16 +01:00
tool_help.h
tool_helpers.c
tool_helpers.h
tool_homedir.c
tool_homedir.h
tool_hugehelp.c.cvs
tool_hugehelp.h
tool_libinfo.c
tool_libinfo.h
tool_main.c
tool_main.h
tool_metalink.c metalink: fix memory-leak and NULL pointer dereference 2017-11-24 13:30:38 +01:00
tool_metalink.h
tool_msgs.c curl: support >256 bytes warning messsages 2017-12-12 19:59:29 +01:00
tool_msgs.h
tool_operate.c Revert "curl: don't set CURLOPT_INTERLEAVEDATA" 2017-12-11 00:00:17 +01:00
tool_operate.h
tool_operhlp.c
tool_operhlp.h
tool_panykey.c
tool_panykey.h
tool_paramhlp.c curl: make str2udouble not return values on error 2017-09-18 10:45:29 +02:00
tool_paramhlp.h
tool_parsecfg.c code style: use spaces around equals signs 2017-09-11 09:29:50 +02:00
tool_parsecfg.h
tool_sdecls.h mime: use in curl cli tool instead of form API. 2017-09-02 18:17:33 +01:00
tool_setopt.c form/mime: field names are not allowed to contain zero-valued bytes. 2017-09-22 01:08:29 +01:00
tool_setopt.h mime: use in curl cli tool instead of form API. 2017-09-02 18:17:33 +01:00
tool_setup.h
tool_sleep.c
tool_sleep.h
tool_strdup.c code style: use spaces around pluses 2017-09-11 09:29:50 +02:00
tool_strdup.h
tool_urlglob.c curl: pass through [] in URLs instead of calling globbing error 2017-11-04 10:23:27 +01:00
tool_urlglob.h
tool_util.c
tool_util.h
tool_version.h
tool_vms.c
tool_vms.h
tool_writeout.c
tool_writeout.h
tool_xattr.c
tool_xattr.h