hniksic
3f51773542
[svn] Fixed problem with recursive FTP retrieval.
2006-11-21 14:18:12 -08:00
mtortonesi
1c7493b83e
[svn] Added sanity checks for -k, -p, -r and -N when -O is given. Added fixes for 64-bit platforms. Updated copyright and maintainer information.
2006-07-14 06:25:50 -07:00
mtortonesi
9d9f134fdf
[svn] Fixed recursive FTP retrieval over proxy.
2006-06-12 09:26:28 -07:00
mtortonesi
01093c0c33
[svn] Fixed recursive spider mode.
2006-05-25 09:11:29 -07:00
hniksic
a202418374
[svn] Made [0.5*wait, 1.5*wait) the range of --random-wait.
2006-02-05 00:35:22 -08:00
mtortonesi
1ff7c1fa70
[svn] retr.c: Changed semantics of no_proxy_match.
2005-10-05 02:46:07 -07:00
hniksic
a95c910f9c
[svn] Change name of param.
2005-09-17 05:55:21 -07:00
hniksic
3d5863424b
[svn] Make timers measure seconds directly, not milliseconds.
2005-07-06 09:35:42 -07:00
hniksic
db9de5b075
[svn] Update FSF's address and copyright years.
2005-07-01 19:26:52 -07:00
hniksic
176b61461b
[svn] Display smaller download rate numbers with more digits of precision.
2005-07-01 17:40:54 -07:00
hniksic
f238f09492
[svn] Minor improvements to fd_read_hunk.
2005-07-01 16:37:50 -07:00
hniksic
2447fb9a9b
[svn] Move extern declarations to .h files.
2005-06-27 11:19:22 -07:00
hniksic
319f52d756
[svn] When the download is finished, print the time the download took.
...
Always invoke SIZE, not only when continuing the download.
2005-06-25 17:41:09 -07:00
hniksic
bd74e419d6
[svn] Don't pattern-match server redirects.
2005-06-25 08:04:47 -07:00
hniksic
002def87d2
[svn] Rename LARGE_INT to SUM_SIZE_INT, and simplify its handling.
2005-06-25 07:39:51 -07:00
hniksic
74fbb03b10
[svn] Use bool type for boolean variables and values.
2005-06-22 12:38:10 -07:00
hniksic
277e840a0f
[svn] Remove K&R support.
2005-06-19 15:34:58 -07:00
hniksic
91479b4c8e
[svn] Reset the sleep_adjust limit value for new downloads. Fixes Debian bug
...
232276.
2005-05-05 02:48:08 -07:00
hniksic
0967c21094
[svn] Fix K&R incompatibilities reported by `gcc -Wtraditional'.
2005-05-03 08:24:30 -07:00
hniksic
9756b0adf5
[svn] Don't ignore timeout when progress=dot.
2005-04-16 13:12:43 -07:00
hniksic
0e3c6ed569
[svn] Clean up prototypes and definitions of ssl_init and ssl_connect.
...
Don't include SSL headers in retr.c.
2005-04-11 07:33:36 -07:00
hniksic
14a2d25b2e
[svn] Better selection of POSIX clocks.
2005-04-08 11:19:20 -07:00
hniksic
2219d47ba3
[svn] Extract timers to a separate file.
2005-04-07 14:37:22 -07:00
hniksic
7c044778bc
[svn] Improve built-in memory debugger.
2005-03-20 07:07:40 -08:00
hniksic
828a50e4f3
[svn] Undo the 2004-11-18 change to fd_read_body. Instead, always use the
...
"exact" flag.
2005-03-19 09:38:46 -08:00
hniksic
72ce32e8ab
[svn] Limit the maximum amount of memory allocated by fd_read_hunk and its
...
callers. Don't allocate more than 64k bytes on headers; don't allocate
more than 4k bytes on a single line.
2005-03-19 09:35:15 -08:00
hniksic
b3363d2abd
[svn] Fix escape chars in server response vulnerability. Server response is
...
now quoted to escape non-ASCII characters.
2005-03-04 11:34:31 -08:00
hniksic
ef22bf610a
[svn] Large file support added. Published in <87psyr6jn7.fsf@xemacs.org>.
2005-02-23 14:21:04 -08:00
mtortonesi
14645396e2
[svn] Fixed a timeout problem in src/retr.c:fd_read_body when using http_proxy.
2004-11-18 13:05:30 -08:00
hniksic
5c07512ec9
[svn] Don't change Windows console title if quiet.
...
Submitted by Gisle Vanem.
2004-03-03 16:05:26 -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
a8155e7bcc
[svn] Correctly calculate bandwidth as total data read divided with download
...
time.
2003-12-05 18:32:57 -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
2f357b5eb8
[svn] Better documentation for fd_read_body args.
2003-11-29 20:41:08 -08:00
hniksic
3390f7eb45
[svn] Try to reuse connections that return error codes.
2003-11-29 17:34:33 -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
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
34a06b07b0
[svn] Doc fix.
2003-11-08 11:29:36 -08:00
hniksic
94ca33d2fb
[svn] Update the progress gauge even when the data does not arrive.
2003-11-08 08:56:52 -08:00
hniksic
0bd6576cde
[svn] Timer code update.
2003-11-07 20:55:44 -08:00
hniksic
c8e92cdbd6
[svn] Get rid of ssl_iread/ssl_iwrite. Have the SSL code register its
...
routines for reading and writing data.
2003-11-05 17:12:03 -08:00
hniksic
8cd9b4cd8a
[svn] New function xsleep that resumes sleeps interrupted by signals
...
on systems that support nanosleep.
2003-11-03 13:57:04 -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
29e36b051b
[svn] Fix -p so it doesn't imply FTP recursion.
2003-10-30 05:00:29 -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
f70c6cacb9
[svn] Initialize DUMMY storage for DT.
2003-10-02 14:21:07 -07:00