hniksic
78706dc5ea
[svn] * retr.c (fd_read_body): Report the amount of data *written* as
...
amount_read. This is not entirely logical, but that's what the
callers expect, and it's not easy to change.
* ftp.c (ftp_loop_internal): Ditto.
* http.c (http_loop): Be smarter about assigning restval; if we're
in the nth pass of a download, simply use the information we have
about how much data has been retrieved as restval.
* ftp.c (getftp): Ditto for FTP "REST" command.
* http.c (gethttp): When the server doesn't respect range, skip
the first RESTVAL bytes of the read body. Never truncate the
output file.
* retr.c (fd_read_body): Support skipping initial STARTPOS octets.
2003-11-30 15:39:04 -08:00
hniksic
381457408a
[svn] Read the data in skip_short_body directly.
2003-11-30 06:33:00 -08:00
hniksic
0ff9eb4727
[svn] Restructure generation of HTTP requests. Allow headers specified with
...
--header to override generated headers.
2003-11-29 10:40:01 -08:00
hniksic
7c063c3175
[svn] Don't #include netinet/Winsock stuff.
2003-11-27 15:39:53 -08:00
hniksic
133d69ff24
[svn] Don't auto-set opt.ipv4_only on systems without IPv6 sockets.
2003-11-17 04:59:54 -08:00
hniksic
66cc6d43f6
[svn] Don't allow opt.ipv4_only and opt.ipv6_only to both be set.
2003-11-15 16:31:58 -08:00
hniksic
8e330fdba0
[svn] Add support for -4/-6.
2003-11-14 17:49:52 -08:00
hniksic
a0bae929ea
[svn] Turn on opt.ipv4_only if we're compiling with IPv6, and AI_ADDRINFO is not
...
available, and AF_INET6 sockets can't be created.
2003-11-13 08:41:17 -08:00
hniksic
244efb6e50
[svn] Added (currently no-op) -4 and -6.
2003-11-11 13:48:35 -08:00
hniksic
ad75dd2662
[svn] Applied Dennis Smit's --preserve-permissions patch.
2003-11-06 12:33:20 -08:00
hniksic
f567bec34c
[svn] Improved command line option processing, introduced boolean options.
2003-11-06 12:20:43 -08:00
hniksic
38b37ed104
[svn] New option --keep-session-cookies.
2003-11-04 16:11:33 -08:00
hniksic
c3e7a030de
[svn] findcmd -> command_by_name
2003-11-04 15:19:39 -08:00
hniksic
095d89995e
[svn] Abort on xfree(NULL).
2003-11-02 13:12:49 -08:00
hniksic
e2e9b753e4
[svn] Retired the `boolean' type. Renamed FREE_MAYBE to xfree_null and moved the
...
definition from wget.h to xmalloc.h. Moved the DEFAULT_LOGFILE
define to log.h. Moved the INFINITE_RECURSION define to recur.h.
2003-11-02 11:56:37 -08:00
hniksic
5f0a2b3f08
[svn] Use new macros xnew, xnew0, xnew_array, and xnew0_array in various places.
2003-10-31 06:55:50 -08:00
hniksic
6369bc5944
[svn] Clarify how setoptval() works.
2003-10-30 03:09:18 -08:00
hniksic
711bf72609
[svn] Remove VERY_LONG_TYPE; use LARGE_INT instead. Remove special code
...
for handling VERY_LONG_TYPE overflows.
Make opt.quota a LARGE_INT.
2003-10-11 06:57:11 -07:00
hniksic
38ea4d5dad
[svn] Renamed DEBUG to ENABLE_DEBUG.
2003-10-07 17:05:51 -07:00
hniksic
95c647eb44
[svn] Split off non-URL related stuff from url.c to convert.c.
2003-09-21 15:47:14 -07:00
hniksic
12ffc87ca7
[svn] Update copyright.
2003-09-21 14:39:00 -07:00
hniksic
e0303dd8ea
[svn] Improved init.c error messages.
2003-09-21 12:17:45 -07:00
hniksic
51a8e9fa50
[svn] Enabled separation of different timeout values.
2003-09-20 21:41:55 -07:00
hniksic
b8e416c6c7
[svn] Adjust bandwidth limitation sleep for the error of previous sleeps.
...
Allow decimal numbers in bandwidth limit specification.
2003-09-20 21:05:12 -07:00
hniksic
37183b0208
[svn] Make errors in command-line options fatal.
2003-09-20 17:41:49 -07:00
hniksic
7870937036
[svn] Allow decimal values for --timeout, --wait, and --waitretry.
...
Message-ID: <m3llsjhx6t.fsf@hniksic.iskon.hr>
2003-09-20 16:12:18 -07:00
hniksic
a504d10ed5
[svn] Default dir_prefix to NULL rather than ".".
2003-09-19 08:28:36 -07:00
hniksic
7b5fb50cb1
[svn] Renamed wget.h XDIGIT-related macros to (hopefully) clearer names.
2003-09-19 07:08:37 -07:00
hniksic
7c802e58d3
[svn] Introduce non-strict comment parsing.
2003-09-18 17:33:22 -07:00
hniksic
fdf7fd4d76
[svn] Removed unused macro ISODIGIT.
2003-09-16 19:00:12 -07:00
hniksic
aa24b822ca
[svn] Improved --restrict-file-names to accept ",nocontrol".
2003-09-16 18:32:05 -07:00
hniksic
0a3697ad65
[svn] New mechanism for quoting file names.
...
Published in <m3smmzt4px.fsf@hniksic.iskon.hr>.
2003-09-14 15:04:13 -07:00
hniksic
bda244f564
[svn] Allow --foo=yes/no in addition to --foo=on/off.
2003-09-10 13:21:21 -07:00
hniksic
10137bd186
[svn] New option --dns-cache.
2003-09-10 12:41:54 -07:00
hniksic
30ac043b0a
[svn] New option --retry-connrefused from Ahmod Dancy.
2003-09-04 14:34:58 -07:00
hniksic
27483fd0f5
[svn] Fix off-by-one error in cmd_file.
...
Published in <sxsit2rfzqo.fsf@florida.munich.redhat.com>.
2002-08-03 13:34:58 -07:00
hniksic
b2be7522c7
[svn] Update the license to include the OpenSSL exception.
2002-05-17 19:16:36 -07:00
hniksic
91a190a770
[svn] Implement several SSL features.
...
- allow checking of server cert
- allow defining client cert type
- allow limit of ssl protocol
- check more return values
- added debug message on break
Published by Thomas Lussnig in <3CC09969.5000607@bewegungsmelder.de>.
2002-04-20 19:26:48 -07:00
hniksic
29a66192cf
[svn] Cookie interface and implementation changes
...
from <sxsofge9yao.fsf@florida.arsdigita.de>
and <sxslmbim7dg.fsf@florida.arsdigita.de>.
2002-04-20 13:46:38 -07:00
hniksic
a9e97711fa
[svn] Keep the commands list in sort order!
2002-04-19 02:24:32 -07:00
hniksic
081e4eb4f4
[svn] Use a marginally faster implementation of binary search.
...
Published in <sxs662uf7l9.fsf@florida.arsdigita.de>.
2002-04-14 11:39:43 -07:00
hniksic
5cb8a6f44d
[svn] Add the POST method.
...
Published in <sxssn5yj4eb.fsf@florida.arsdigita.de>.
2002-04-13 21:22:47 -07:00
hniksic
a69cb0c3ad
[svn] Various IPv6 fixes.
...
Submitted in <sxsd6zz2jf7.fsf@florida.arsdigita.de>.
2002-01-24 19:34:23 -08:00
hniksic
cb40034035
[svn] Commit IPv6 support by Thomas Lussnig.
...
Published in <sxsk7u8715e.fsf@florida.arsdigita.de>.
2002-01-23 21:45:54 -08:00
hniksic
e59a7ee8ac
[svn] Make -P work on Windows.
...
Submitted by Ian Abbott in <3C447E8F.13424.16ED42@localhost>.
2002-01-16 17:03:33 -08:00
hniksic
0f120eee66
[svn] Fix error message when $WGETRC not found.
...
Published in <sxswuzrylnm.fsf@florida.arsdigita.de>.
2001-12-13 11:19:03 -08:00
hniksic
233fcbc44d
[svn] Would abort when given invalid progress type.
...
Published in <sxsg06kxc9g.fsf@florida.arsdigita.de>.
2001-12-09 14:25:34 -08:00
hniksic
fcf68c0e9a
[svn] --sslegdsock' ->
--egd-file'
...
Published in <sxsadwwnc7h.fsf@florida.arsdigita.de>.
2001-12-05 21:35:17 -08:00
hniksic
ae3c268719
[svn] Implement EGD support.
...
Submitted by Christian Fraenkel in <005501c17920$1312d440$4a05a8c0@isn>.
2001-11-29 23:39:08 -08:00
hniksic
fb7fb36cb8
[svn] Resurrect opt.dot_style.
2001-11-27 18:44:18 -08:00