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

709 Commits

Author SHA1 Message Date
hniksic
32a716a20e [svn] Use _POSIX_TIMERS - 0 > 0, which handles the case when POSIX_TIMERS is
_defined but empty, as well as the case when it is
undefined.  Do the same with the check for _POSIX_MONOTONIC_CLOCK.
Suggested by Larry Jones.
2005-04-15 12:29:19 -07:00
hniksic
c65d4ff828 [svn] Check for defined(_POSIX_TIMERS) before checking the value. 2005-04-15 04:09:45 -07:00
hniksic
c547fdd6b3 [svn] Report an error in skip_short_body to the caller. 2005-04-14 14:12:57 -07:00
hniksic
4cf3365fcf [svn] Open the output file in binary mode.
By Gisle Vanem.
2005-04-12 13:32:31 -07:00
hniksic
c65bc738a0 [svn] Conditonialize including config.h on HAVE_CONFIG_H, not on STANDALONE. 2005-04-11 12:20:45 -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
8db46085a0 [svn] Don't define _VA_LIST; it breaks compilation with GCC under Solaris 10. 2005-04-11 06:04:08 -07:00
hniksic
4dc559af46 [svn] Warn the user to increase SZ before aborting. 2005-04-10 17:42:18 -07:00
hniksic
be684b81e5 [svn] Free converted_files. 2005-04-10 16:39:41 -07:00
hniksic
62ecd29a84 [svn] Use __builtin_expect to provide a hint that -d is unlikely. 2005-04-10 12:54:02 -07:00
hniksic
67859c4035 [svn] Declare alloca as returning void *, not char *. (The alloca in
alloca.c returns void *.)
2005-04-10 11:20:54 -07:00
hniksic
b49b6db4f1 [svn] Correct logic of check #6 in download_child_p.
By Larry Jones and Hrvoje Niksic.
2005-04-09 15:18:36 -07:00
hniksic
8b9cabe004 [svn] Don't mark ~ as unsafe, it confuses too many sites. 2005-04-09 04:48:31 -07:00
hniksic
823164c62c [svn] Fix compilation of alloca.c under tcc. 2005-04-08 16:09:09 -07:00
hniksic
db9855f2be [svn] Declare ntlmbuf as char, to avoid warning with icc.
Join strings to support pre-C89 compilers.
2005-04-08 15:34:43 -07:00
hniksic
603375697b [svn] Use Windows timers under Cygwin. 2005-04-08 15:05:45 -07:00
hniksic
b381aee988 [svn] Remove the unused "initialized" field from struct ptimer. 2005-04-08 11:33:11 -07:00
hniksic
14a2d25b2e [svn] Better selection of POSIX clocks. 2005-04-08 11:19:20 -07:00
hniksic
1d84ce751b [svn] Fix typo affecting Windows build. 2005-04-08 02:18:26 -07:00
hniksic
c159a45df1 [svn] Check that _POSIX_CLOCK_MONOTONIC >= 0 before using it. 2005-04-07 16:38:08 -07:00
hniksic
fbea09290b [svn] Check for defined-ness of _POSIX_MONOTONIC_CLOCK, don't require
it to be >0.
2005-04-07 16:22:53 -07:00
hniksic
2219d47ba3 [svn] Extract timers to a separate file. 2005-04-07 14:37:22 -07:00
hniksic
42139ce9b1 [svn] Define NO_ADDRESS only after the system headers have been included. 2005-04-07 13:43:26 -07:00
hniksic
52ad80309f [svn] Added NTLM support. 2005-04-06 13:42:22 -07:00
mtortonesi
8f0378df0b [svn] Removed string_t.c from the list of source files in Makefiles. 2005-04-05 11:46:44 -07:00
mtortonesi
6dc9563cca [svn] Removed (not used anymore) string_t.{c,h}. 2005-04-04 20:21:23 -07:00
hniksic
334a0cf9c9 [svn] Made rewrite_shorthand_url recognize HOST:PORT again. 2005-04-01 15:59:48 -08:00
hniksic
e65ff5729a [svn] Avoid explicit 64-bit constants; construct them by multiplication at
compile-time.
2005-04-01 10:22:38 -08:00
hniksic
30e4a33756 [svn] Use sets/hash-tables instead of "slists". Remove slist implementation from
utils.c.
2005-03-30 11:27:34 -08:00
hniksic
52aafa6d15 [svn] Replace GETALL and others with GLOB_GETALL. 2005-03-29 12:13:12 -08:00
hniksic
dd299a9cf6 [svn] Slightly better handling of negative numbers in numdigit. 2005-03-29 12:03:42 -08:00
hniksic
b9a31d78dd [svn] Support human-readable file size printing.
Don't use persistent connection over proxies.
2005-03-22 05:20:02 -08:00
hniksic
7c044778bc [svn] Improve built-in memory debugger. 2005-03-20 07:07:40 -08:00
hniksic
6da4142b3b [svn] Use high-resolution timers on Windows. 2005-03-20 02:41:46 -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
b90b20763b [svn] cmd_bytes now stores wgint, not long. 2005-03-19 09:29:25 -08:00
hniksic
c36e9a5272 [svn] Concatenate strings using concat_strings. 2005-03-19 09:23:32 -08:00
hniksic
5fca43a4c0 [svn] Handle negative numbers and detect overflow in simple_atoi.
Handle negative numbers in simple_atof.
2005-03-19 09:16:32 -08:00
hniksic
976c54d0e6 [svn] Handle multiple Set-Cookie headers sent by the server. 2005-03-06 14:53:02 -08:00
hniksic
30aaf5a19a [svn] Use the passive FTP transfer mode by default. 2005-03-06 11:34:25 -08:00
hniksic
8612bacf0a [svn] Store errors for Winsock calls in errno. Provide a version of strerror
that handles Winsock errors.
2005-03-06 08:36:45 -08:00
hniksic
f3aece8d22 [svn] Reject port numbers greater than 65535. 2005-03-06 08:34:00 -08:00
hniksic
e2241936d0 [svn] Remove warnings under Borland C. 2005-03-05 18:11:10 -08:00
hniksic
c5ca8b7152 [svn] Fix parse error when O_BINARY is available. 2005-03-05 15:35:15 -08:00
hniksic
18acfe8130 [svn] Fix bogus ".." hosts injecting such components to path. 2005-03-05 15:04:05 -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
50d143f3fe [svn] Fix a possible race condition when opening files.
Published in <87r7j6vy9g.fsf@xemacs.org>.
2005-03-04 11:26:18 -08:00
hniksic
16c53cdf93 [svn] Improve handling of numeric hosts when ENABLE_IPV6.
Published in <87psyr6jn7.fsf@xemacs.org>.
2005-03-04 11:21:02 -08:00
hniksic
00dc3157e5 [svn] iFixes for compilation under MingW. By Gisle Vanem. 2005-02-26 06:00:20 -08:00