1
0
mirror of https://github.com/moparisthebest/wget synced 2024-07-03 16:38:41 -04:00
Commit Graph

1202 Commits

Author SHA1 Message Date
hniksic
2c0e2b0afa [svn] Fixes by Christian Biere:
* progress.c (bar_set_params): Fixed syntax error when HAVE_ISATTY
was undefined.
* ftp.c (ftp_loop_internal): Allocate a larger buffer in case
"try" gets translated to something large.  Ditto in http_loop in
http.c.
* http.c (response_header_copy): Don't write to buf[BUFSIZE].
* ftp-opie.c (skey_response): Eliminate unnecessary string
concatenation; just call gen_md5_update twice.
2004-01-27 17:02:26 -08:00
hniksic
dc99d9a487 [svn] Don't sleep using usleep for more than a second. 2004-01-24 19:16:33 -08:00
hniksic
6be0e99a5e [svn] Added file from the TP. 2004-01-14 02:57:58 -08:00
hniksic
36b266f894 [svn] Trivial doc fix. 2003-12-19 17:40:19 -08:00
hniksic
4bbe443be3 [svn] Fix generation of `Content-Length'. 2003-12-16 12:42:06 -08:00
hniksic
2e2c816057 [svn] Added Nicolas Schodet. 2003-12-15 08:43:55 -08:00
hniksic
174fee5396 [svn] Fixed return value; 'url' if no credentials. 2003-12-15 02:22:54 -08:00
hniksic
8b30dbf8b5 [svn] Docfix. 2003-12-14 07:25:29 -08:00
hniksic
c734e9a981 [svn] Return a pointer from url_skip_credentials. 2003-12-14 05:42:53 -08:00
hniksic
489452a23a [svn] Declare the pointers to literal strings as `const'. 2003-12-14 05:35:27 -08:00
hniksic
261183c609 [svn] retr.c (fd_read_body): Pass total size to progress_create, not
the remaining amount.
2003-12-12 14:55:20 -08:00
hniksic
9179f2e699 [svn] Don't fiddle with "interactive timeout" if read timeout is unset. 2003-12-12 14:40:39 -08:00
hniksic
78890a267c [svn] Added Gisle Vanem as author. 2003-12-12 13:47:21 -08:00
hniksic
fd6ff1b0fe [svn] Added Mauro Tortonesi. 2003-12-12 08:44:20 -08:00
hniksic
c5cc9f39cc [svn] Don't set the IPV6_V6ONLY option on the socket. 2003-12-12 06:14:53 -08:00
hniksic
06718d888b [svn] Document new implementation of continuing partial downloads. 2003-12-06 03:15:56 -08:00
hniksic
92c0f627b7 [svn] Don't incorrectly claim that `-O' sets the number of retries to 1. 2003-12-06 02:59:59 -08:00
hniksic
0e74e24d95 [svn] Document the new option --protocol-directories. 2003-12-05 19:07:10 -08:00
hniksic
0d0fe50435 [svn] New option --protocol-directories. 2003-12-05 19:01:31 -08:00
hniksic
a8155e7bcc [svn] Correctly calculate bandwidth as total data read divided with download
time.
2003-12-05 18:32:57 -08:00
hniksic
53f5f3e486 [svn] Reword the HTTP/0.9 entry. 2003-12-05 16:45:00 -08:00
hniksic
bf8350af62 [svn] Support the 303 See Other response. 2003-12-05 06:37:47 -08:00
hniksic
f599e493f3 [svn] Updated file from the TP. 2003-12-04 16:17:21 -08:00
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
2f357b5eb8 [svn] Better documentation for fd_read_body args. 2003-11-29 20:41:08 -08:00
hniksic
f2a078239c [svn] Mention that HTTP/0.9 now works. 2003-11-29 20:23:26 -08:00
hniksic
3390f7eb45 [svn] Try to reuse connections that return error codes. 2003-11-29 17:34:33 -08:00
hniksic
63d492c0ba [svn] Initialize SSL only the first time when an SSL URL is encountered. 2003-11-29 14:24:55 -08:00
hniksic
ddd2644bc8 [svn] Docfix. 2003-11-29 14:19:46 -08:00
hniksic
f57e571154 [svn] Cosmetic change. 2003-11-29 14:19:26 -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
83b0e38940 [svn] Don't include the Proxy-Authorization header in the request tunneled
through proxy.
2003-11-28 03:28:05 -08:00
hniksic
3eef068815 [svn] Document that SSL passthrough now works. 2003-11-27 18:37:33 -08:00
hniksic
76b59b1ad7 [svn] Use the CONNECT method to establish passthrough over SSL traffic
over proxies.
2003-11-27 18:24:53 -08:00
hniksic
7c063c3175 [svn] Don't #include netinet/Winsock stuff. 2003-11-27 15:39:53 -08:00
hniksic
8f286c1238 [svn] Remove obsolete finder_t typedef. 2003-11-27 15:34:32 -08:00
hniksic
dfe1f43dc0 [svn] Use fd_read_hunk for reading HTTP response head. Support HTTP/0.9
responses.
2003-11-27 15:29:36 -08:00
hniksic
b83acf88c1 [svn] Don't calculate the ETA if nothing has yet been downloaded. 2003-11-27 14:59:36 -08:00
hniksic
f496a0ea07 [svn] Renamed sa_len to addrlen because IRIX defines sa_len as macro. 2003-11-27 02:59:41 -08:00
hniksic
084dd20514 [svn] Don't check for AI_V4MAPPED and AI_ALL. 2003-11-26 14:46:13 -08:00
hniksic
795614dcbb [svn] Check for struct sockaddr_storage. 2003-11-26 09:20:23 -08:00
hniksic
3f84a5e00e [svn] Squash embedded newlines in links. 2003-11-26 08:37:04 -08:00
hniksic
1b2dce0493 [svn] Set con->csock to -1 where rbuf_uninitialize was previously used. 2003-11-25 16:38:20 -08:00
hniksic
c06c8d039f [svn] Added the trailing backslash that was missing. 2003-11-25 16:20:42 -08:00
hniksic
2d4ddce871 [svn] Updated from the TP. 2003-11-25 15:02:46 -08:00
hniksic
7736d5dc98 [svn] Remove headers.c and headers.h. 2003-11-21 00:48:45 -08:00
hniksic
d9fea91a0a [svn] Remove the "rbuf" buffering layer. Provide peeking primitives instead. 2003-11-20 17:48:11 -08:00
hniksic
0716c335a0 [svn] Renamed xread/xwrite/xclose to fd_read/fd_write/fd_close. The "x" prefix is
not appropriate because the semantics have diverged from read/write/close
too significantly.
2003-11-20 07:19:59 -08:00
hniksic
0c4b349c5a [svn] It's not necessary to initialize RES. 2003-11-19 17:26:02 -08:00