busybox/networking
Ron Yorston ed9aa89269 wget: implement --post-file
Add the --post-file option to send form data from a file.  As with
--post-data it's up to the user to ensure that the data is encoded
as appropriate:  all wget does is stuff the provided data into
the request.

The --post-data and --post-file options are mutually exclusive and
only one instance of either may be given.

Additionally:

- update the usage message to include missing details of the --post-data
  and --header options;

- free POST data if FEATURE_CLEAN_UP is enabled.

function                                             old     new   delta
packed_usage                                       34158   34214     +56
wget_main                                           2762    2805     +43
.rodata                                            99225   99240     +15
static.wget_longopts                                 266     278     +12
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 4/0 up/down: 126/0)             Total: 126 bytes

Signed-off-by: Ron Yorston <rmy@pobox.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2021-10-01 14:55:18 +02:00
..
libiproute libbb: introduce and use fputs_stdout 2021-02-03 20:52:40 +01:00
ssl_helper
ssl_helper-wolfssl
udhcp udhcp: add comments, no code changes 2021-09-04 01:50:42 +02:00
arp.c
arping.c
brctl.c timeout,top,watch,ping: parse NN.N fractional duration in locales with other separators 2021-03-23 13:50:02 +01:00
Config.src
dnsd.c dnsd: check that we don't read past packet 2021-02-22 15:36:07 +01:00
ether-wake.c
ftpd.c *: more --help tweaks 2021-06-16 14:24:27 +02:00
ftpgetput.c libbb: make bb_lookup_port() abort on bad port names 2021-09-09 22:00:44 +02:00
hostname.c
httpd_helpers.sh
httpd_indexcgi.c
httpd_post_upload.cgi httpd_post_upload.cgi: use mktemp to avoid $RANDOM 2021-06-06 13:44:08 +02:00
httpd_ssi.c
httpd.c httpd: fix config deps 2021-09-10 10:07:42 +02:00
ifconfig.c
ifenslave.c
ifplugd.c
ifupdown.c help text tweaks 2020-12-18 04:12:51 +01:00
inetd.c inetd: deinline machtime() - gcc gets it wrong 2021-04-24 12:06:03 +02:00
interface.c
ip.c
ipcalc.c
isrv_identd.c
isrv.c
isrv.h
Kbuild.src
nameif.c *: more --help tweaking 2021-06-13 03:51:55 +02:00
nbd-client.c
nc_bloaty.c libbb: make bb_lookup_port() abort on bad port names 2021-09-09 22:00:44 +02:00
nc.c libbb: make bb_lookup_port() abort on bad port names 2021-09-09 22:00:44 +02:00
netstat.c
nslookup.c nslookup: mention QUERY_TYPE SRV 2021-06-03 16:23:52 +02:00
ntpd.c libbb.h: inline byteswaps 2021-04-24 11:54:50 +02:00
ntpd.diff
parse_pasv_epsv.c
ping.c Fix ping build on the FreeBSD 2021-01-04 13:28:28 +01:00
pscan.c help text tweaks, mainly expanding one for route 2020-12-18 23:33:19 +01:00
route.c route: code shrink 2020-12-19 00:07:13 +01:00
slattach.c
ssl_client.c
tc.c tc: fix for parsing of "dev IFACE" and printing of "class list" 2021-07-11 14:50:04 +02:00
tcpudp_perhost.c
tcpudp_perhost.h
tcpudp.c tcp/udpsvd: robustify SIGCHLD handling 2021-06-05 15:24:04 +02:00
telnet.c randomconfig fixes 2020-12-29 16:53:11 +01:00
telnetd.c httpd,telnetd: make default port configurable 2021-09-09 21:42:48 +02:00
telnetd.ctrlSQ.patch
telnetd.IAC_test.sh
tftp.c telnetd: give inetd.conf example in --help 2021-06-16 10:49:18 +02:00
tls_aes.c
tls_aes.h
tls_aesgcm.c
tls_aesgcm.h
tls_fe.c tls: code shrink in curve 25519 2021-04-28 12:19:24 +02:00
tls_pstm_montgomery_reduce.c tls: further reduce register pressure in i386 assembly 2021-04-20 19:03:55 +02:00
tls_pstm_mul_comba.c
tls_pstm_sqr_comba.c
tls_pstm.c tls: whitespace fixes 2021-04-27 00:40:40 +02:00
tls_pstm.h
tls_rsa.c tls: whitespace fixes 2021-04-27 00:40:40 +02:00
tls_rsa.h
tls_sp_c32.c tls: code shrink P256 code 2021-10-01 13:51:39 +02:00
tls_symmetric.h
tls.c tls: add scaffolding to selectively disable ciphers. no code changes 2021-10-01 14:27:10 +02:00
tls.h tls: simplify sp_256_ecc_gen_k_10, cosmetic changes 2021-04-26 14:33:38 +02:00
traceroute.c traceroute: fix compile error due to FreeBSD compat 2021-08-15 20:06:52 +02:00
tunctl.c help text tweaks 2020-12-18 04:12:51 +01:00
vconfig.c *: --help tweaks 2021-06-13 01:08:48 +02:00
wget.c wget: implement --post-file 2021-10-01 14:55:18 +02:00
whois.c
zcip.c