hniksic
4edde35100
[svn] Renamed the SSL switches and commands.
2005-04-26 10:22:56 -07:00
hniksic
72549063a9
[svn] Revert to previous revision.
2005-04-26 06:45:13 -07:00
hniksic
428c1a2b3c
[svn] Fix various cookie-related problems.
2005-04-26 06:34:33 -07:00
hniksic
e26d46befc
[svn] Remove support for --use-proxy.
2005-04-25 14:19:41 -07:00
hniksic
3af8340e5b
[svn] Doc fix.
2005-04-25 03:25:58 -07:00
hniksic
6251403378
[svn] Doc fix.
2005-04-25 03:18:21 -07:00
hniksic
e3acbd2aaf
[svn] Restore old behavior of -Y.
2005-04-25 03:13:18 -07:00
hniksic
9c58e3c1d2
[svn] Delete unreachable statement in aprintf.
2005-04-24 13:14:10 -07:00
hniksic
cf994330a3
[svn] Added reordering of addresses to try IPv4 first and the associated
...
--prefer-family switch.
2005-04-24 13:00:19 -07:00
hniksic
e14d2b8115
[svn] Make retryable_socket_connect_error return 0 on ENETUNREACH and
...
EHOSTUNREACH.
2005-04-24 10:13:42 -07:00
hniksic
5bcaac1177
[svn] Remember that the NTLM-authorized TCP connections stay authorized.
2005-04-22 19:03:19 -07:00
hniksic
d025e62556
[svn] Treat input to base64_encode as unsigned chars.
2005-04-22 17:20:13 -07:00
hniksic
05aed0cca2
[svn] Format http-ntlm.c in an ansi2knr-friendly fashion.
2005-04-22 17:11:30 -07:00
hniksic
add6c24a19
[svn] Fix bugs in NTML handling.
2005-04-22 08:15:25 -07:00
hniksic
e09eb765f4
[svn] Fix warning message text; mark the warning message as translatable.
2005-04-22 08:12:59 -07:00
hniksic
7baf7b4cd9
[svn] Print the EGD option in the help text at the end of the SSL option block.
2005-04-21 07:50:45 -07:00
hniksic
2a7d81ac93
[svn] Fix setting the NTLM domain.
...
By Sami Krank.
2005-04-21 07:00:11 -07:00
mtortonesi
82c9f4f588
[svn] Removed _AS_PATH_SEPARATOR_PREPARE from configure.in (inserted by mistake during last commit). Updated version string to 1.10-alpha2+cvs-dev.
2005-04-20 18:30:54 -07:00
mtortonesi
f5530752bf
[svn] Set IPV6_V6ONLY socket option when -6 switch is used.
2005-04-20 18:26:33 -07:00
hniksic
85c143a2a5
[svn] Fix the check whether a new header needs to be allocated.
...
By FUJISHIMA Satsuki.
2005-04-20 13:15:05 -07:00
hniksic
155ca3d489
[svn] Change orders of parameters of base64_encode, so it makes more sense.
...
Mention NTLM support in http.c.
2005-04-18 07:23:23 -07:00
hniksic
d406908e94
[svn] Fix potential memory leak in request_set_header.
2005-04-17 09:59:35 -07:00
hniksic
7c363df6b5
[svn] Declare VALUE argument of fmtstr as const char *.
...
By Russ Allbery.
2005-04-17 09:53:55 -07:00
hniksic
dccc4a2d49
[svn] More correct handling of significant digit count with %g -- 0.002 has
...
one significant digit, not three.
2005-04-16 16:02:39 -07:00
hniksic
9756b0adf5
[svn] Don't ignore timeout when progress=dot.
2005-04-16 13:12:43 -07:00
hniksic
4de69525f2
[svn] Doc fix.
2005-04-16 11:11:23 -07:00
hniksic
ab18c0eaed
[svn] Really disable persistent connections over proxy.
2005-04-16 06:06:29 -07:00
hniksic
f4348a022d
[svn] Fixed a number of bugs in snprintf.c.
2005-04-15 17:12:06 -07:00
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
364dc617a4
[svn] Doc fix.
2005-04-11 06:41:28 -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
96d5ceefe4
[svn] Doc fix.
2005-04-10 17:41:20 -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
eac1dced8f
[svn] Renamed OVERFLOW and UNDERFLOW to INT64_OVERFLOW and INT64_UNDERFLOW.
2005-04-07 16:21:24 -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
4b57f166ae
[svn] Use the xzero shorthand for memset(..., 0, ...).
2005-04-01 16:41:04 -08: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
25e3bfdbea
[svn] Documentation fix.
2005-03-19 09:25:44 -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
f8aa522afb
[svn] Doc fix to fd_peek.
2005-03-16 13:44:22 -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
dbd0607ea8
[svn] Include stdio.h.
2005-03-05 20:10:23 -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
3a8f6494d7
[svn] Docfix.
2005-03-05 15:07:53 -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
3d04bb3a2c
[svn] Avoid unneeded initialization of local var.
2005-02-28 10:48:23 -08:00
hniksic
e3fb2ec5df
[svn] Remove duplicate initialization.
2005-02-26 19:00:59 -08:00
hniksic
00dc3157e5
[svn] iFixes for compilation under MingW. By Gisle Vanem.
2005-02-26 06:00:20 -08:00
hniksic
0c4e666cb6
[svn] Large file fixes for Borland C, published in
...
<87u0o0cgr1.fsf@xemacs.org>.
2005-02-25 16:23:24 -08:00
hniksic
76661bdc29
[svn] iInitialize err in getftp to suppress gcc warning.
2005-02-25 14:00:18 -08:00
hniksic
2e48de2b01
[svn] Fix infloop in ftp_expected_bytes introduced by the LFS patch.
2005-02-24 05:44:19 -08:00
hniksic
f80f35d480
[svn] Fix Windows problems introduced by LFS. Published in
...
<87k6oynmj0.fsf@xemacs.org>.
2005-02-24 04:58:00 -08:00
hniksic
ef22bf610a
[svn] Large file support added. Published in <87psyr6jn7.fsf@xemacs.org>.
2005-02-23 14:21:04 -08:00
mtortonesi
787f482f03
[svn] Added the --ftp-passwd command line option.
2005-02-18 17:52:01 -08:00
mtortonesi
ceea435096
[svn] added string_t.{c,h} to CVS.
2005-02-11 13:47:10 -08:00
mtortonesi
87e0d2682b
[svn]
...
Renamed src/string.{c,h} to src/string_t.{c,h} to solve a conflict with the
string.h standard C library header file.
Fixed a bug and triggered escape of backslashes in string_t.c to avoid
ambiguities in the result string.
Added Simone Piunno as new contributor.
2005-02-11 13:34:42 -08:00
mtortonesi
ca13ffd249
[svn] Added string.c module. Updated copyright information and added names of new contributors to the documentation.
2005-01-01 13:29:11 -08:00
mtortonesi
ec4f99d51e
[svn] Fixed a problem in ftp_parse_winnt_ls that could allow a malicious remote FTP server to crash wget.
2004-12-08 17:20:39 -08:00
mtortonesi
65af6f7432
[svn] Fixed -k when using -O.
2004-11-18 16:44:38 -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
mtortonesi
1268028a0a
[svn] merged YAMAZAKI Makoto's patch fixing termination by assertion bug in netrc parsing.
2004-11-15 13:13:50 -08:00
hniksic
44704ef233
[svn] Fix fake_fork under Borland C.
...
Submitted by David Fritz.
2004-05-09 14:50:00 -07:00
hniksic
2fdf38285b
[svn] Fix typo.
2004-03-31 11:14:05 -08:00
hniksic
7488d701bf
[svn] Send the Proxy-Authorization header over non-SSL connections too.
2004-03-30 15:19:16 -08:00
hniksic
bf4ae09b22
[svn] Fix fake_fork error handling for Windows 98.
...
Patch by David Fritz.
2004-03-25 11:18:54 -08:00
hniksic
8ae7bc8333
[svn] Added docs. Submitted by David Fritz.
2004-03-24 16:06:04 -08:00
hniksic
03395ca801
[svn] New Windows implementation of fork_to_background().
...
Submitted by David Fritz.
2004-03-24 11:16:08 -08:00
hniksic
1b6479a39a
[svn] Fixed bugs in Windows console event handling.
...
Submitted by David Fritz.
2004-03-19 15:54:27 -08:00
hniksic
dd9a354756
[svn] Decode %HH sequences in host name.
2004-03-19 13:00:09 -08:00
hniksic
15282415b4
[svn] Quote # and % when creating links to local files.
2004-03-03 16:41:34 -08:00
hniksic
3f374f6db1
[svn] * mswindows.c (ws_percenttitle): Guard against future changes by
...
doing nothing if the proper variables have not been initialized.
Clamp percentage value.
Submitted by David Fritz.
2004-03-03 16:06:46 -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
a865004aba
[svn] Improved Windows power management logic. Submitted by David Fritz.
2004-02-26 06:34:17 -08:00
hniksic
a0642cc62e
[svn] Revamped MS console logic. Submitted by David Fritz.
2004-02-25 15:45:24 -08:00
hniksic
6b955d9fe7
[svn] Formatting tweaks by David Fritz.
2004-02-23 19:29:55 -08:00
hniksic
eef22ee91e
[svn] Remove ws_help; it doesn't make sense to invoke the help browser for
...
--help.
2004-02-22 07:45:59 -08:00
hniksic
f7193075df
[svn] Under Windows, if $HOME is not defined, use the directory that
...
contains the Wget binary instead of hard-coded `C:\'.
(wgetrc_file_name): Under Windows, look for $HOME/.wgetrc then, if
not found, look for wget.ini in the directory of the Wget binary.
Submitted by David Fritz.
2004-02-17 07:37:31 -08:00
hniksic
5114df6b33
[svn] Respect --ignore-length.
...
Inhibit keep-alive when --ignore-length is used.
2004-02-06 17:48:54 -08:00
hniksic
9adc7cf275
[svn] Zero out sockaddr_in/sockaddr_in6. Apparently BSD-derived stacks need this
...
when binding a socket to local address.
2004-02-06 08:59:54 -08:00
hniksic
91ebe986e4
[svn] Make hash.c compilable outside the source tree.
2004-02-04 04:32:46 -08:00
hniksic
9a4afed6fd
[svn] Return a value on non-Windows systems without TIOCGWINSZ.
2004-01-29 04:38:52 -08:00
hniksic
4d626daf5a
[svn] Correctly determine screen size under Windows.
2004-01-28 05:42:52 -08:00
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
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
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
c5cc9f39cc
[svn] Don't set the IPV6_V6ONLY option on the socket.
2003-12-12 06:14:53 -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
bf8350af62
[svn] Support the 303 See Other response.
2003-12-05 06:37:47 -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
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
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
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
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
hniksic
51b0fdbace
[svn] It's not necessary to initialize RES.
2003-11-19 16:42:21 -08:00
hniksic
bbcdd71484
[svn] Don't reference opt.ipv4_only and opt.ipv6_only if IPv6 is disabled.
2003-11-19 05:25:20 -08:00
hniksic
3792aa7058
[svn] Don't compile socket_has_inet6 if IPv6 is disabled.
2003-11-19 04:07:42 -08:00
hniksic
581f9539a3
[svn] Warn the user when using weak random seed.
2003-11-18 14:28:01 -08:00
hniksic
0fb0ee87c7
[svn] Renamed address_list_find to address_list_contains.
2003-11-18 14:18:44 -08:00
hniksic
b61d05160b
[svn] Document connect_to_host better.
2003-11-17 15:53:14 -08:00
hniksic
ac1d8e5078
[svn] Make select_fd return 1 if select is unavailable.
2003-11-17 15:46:20 -08:00
hniksic
e4c730c3a5
[svn] Don't reference address list after releasing it.
2003-11-17 12:51:27 -08:00
hniksic
5fb7ffc9ad
[svn] Fix alignment of FTP options output.
2003-11-17 05:13:33 -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
c45fc0e595
[svn] Fix minor problems with --help text.
2003-11-16 15:42:38 -08:00
hniksic
cd8797a2a2
[svn] No longer include INET headers in ftp-basic.c.
2003-11-16 11:17:48 -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
dcc890b007
[svn] Specify AI_ADDRCONFIG only when the address family is not explicitly
...
requested.
2003-11-14 18:18:41 -08:00
hniksic
98349dee6f
[svn] Don't refer to nonexistent forget_host_lookup.
2003-11-14 18:10:56 -08:00
hniksic
22b37f3ef1
[svn] Doc fix.
2003-11-14 18:05:21 -08:00
hniksic
36387204b0
[svn] Fix call to socket_ip_address.
2003-11-14 18:03:23 -08:00
hniksic
8e330fdba0
[svn] Add support for -4/-6.
2003-11-14 17:49:52 -08:00
hniksic
5a883689bc
[svn] Enable -4 and -6 switches only when IPv6 is enabled.
2003-11-14 07:18:47 -08:00
hniksic
615ae382f9
[svn] Cosmetic changes.
2003-11-14 05:55:02 -08:00
hniksic
4cef0cc3f9
[svn] Document that Winsock's gethostbyname might not grok numeric addresses.
2003-11-14 05:51:32 -08:00
hniksic
4e58524e8f
[svn] Renamed register_extended to register_transport.
2003-11-14 05:43:46 -08:00
hniksic
a501e1c988
[svn] Import the 1.9.1 release change logs to 1.9 branch change logs.
2003-11-13 18:08:23 -08:00
hniksic
6ddd0006e4
[svn] Preserve consecutive slashes in URLs. Make sure leading ".."'s are
...
not stripped away.
2003-11-13 17:36:02 -08:00
hniksic
9d907933ad
[svn] Don't attempt to talk to two different SSL sites over the same secure
...
connection.
2003-11-13 14:48:03 -08:00
hniksic
509154dc81
[svn] Use the new function retryable_socket_connect_error instead of the
...
CONNECT_ERROR macro.
2003-11-13 14:27:38 -08:00
hniksic
1cfde0c27d
[svn] Correctly check for unsupported socket families.
2003-11-13 12:26:18 -08:00
hniksic
0f99d1f220
[svn] Rewrote bindport and acceptport to use a more standard calling convention.
2003-11-13 09:05:06 -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
fea4fb28cb
[svn] Document that the IP addresses are returned in order.
2003-11-12 17:37:46 -08:00
hniksic
6f3dbca0c5
[svn] Better INT_MAX and UCHAR_MAX checks.
2003-11-11 16:42:09 -08:00
hniksic
244efb6e50
[svn] Added (currently no-op) -4 and -6.
2003-11-11 13:48:35 -08:00
hniksic
1c35fe3c45
[svn] Mention that gethostbyname is not required to accept dotted-decimal
...
addresses.
2003-11-10 19:21:57 -08:00
hniksic
1d0ab81f37
[svn] Use a more standard error message.
2003-11-10 19:19:33 -08:00
hniksic
9e5222bd7c
[svn] Add docs for address_list_release.
2003-11-10 16:26:14 -08:00
hniksic
02f90322e8
[svn] Network updates.
2003-11-10 05:20:46 -08:00
hniksic
5921fb2d57
[svn] Special-case numeric addresses only in the IPv4 case.
2003-11-10 04:56:08 -08:00
hniksic
8ccc51e5af
[svn] Split passive host lookups to a separate function.
2003-11-09 17:38:09 -08:00
hniksic
eb88464568
[svn] Download URLs from <object data="...">.
2003-11-08 17:33:33 -08:00
hniksic
113ad490d0
[svn] Fix core dump with --mirror.
2003-11-08 17:07:53 -08:00
hniksic
c4ba08110d
[svn] Mark clearly where the response begins and ends in the debug output.
2003-11-08 17:05:35 -08:00
hniksic
8cfaba536a
[svn] Specify exact domain match on cookies that don't specify domain.
2003-11-08 14:32:52 -08:00
hniksic
36a5d0b2fe
[svn] Doc fix.
2003-11-08 12:41:15 -08:00
hniksic
4f19ac5494
[svn] Retire options -g, -G, -s, and -C.
2003-11-08 12:22:21 -08:00
hniksic
439d6a11fa
[svn] Added --dont-remove-listing, removed -s.
2003-11-08 12:13:24 -08:00
hniksic
34a06b07b0
[svn] Doc fix.
2003-11-08 11:29:36 -08:00
hniksic
3b8e1052cb
[svn] Support Windows-2000 ftp servers. By Gisle Vanem.
2003-11-08 11:20:29 -08:00
hniksic
cd87cd9e09
[svn] Remove the debugging sledgehammer check.
2003-11-08 09:00:45 -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
cb393a062d
[svn] Abort if wtimer_update is called on an uninitialized timer.
...
On the other hand, allow wtimer_read on such a timer.
2003-11-08 08:13:54 -08:00
hniksic
0bd6576cde
[svn] Timer code update.
2003-11-07 20:55:44 -08:00
hniksic
caa70d1420
[svn] Move the explanation of IdentityHashMap to hash_table_new.
2003-11-07 20:06:03 -08:00
hniksic
21f6620b49
[svn] *** empty log message ***
2003-11-07 19:58:50 -08:00
hniksic
85ff32caeb
[svn] Name the source of the integer hash function.
2003-11-07 19:42:58 -08:00
hniksic
d7e592d797
[svn] Replace conaddr with socket_ip_address.
2003-11-07 18:57:51 -08:00
hniksic
fef88bd179
[svn] Mark entries as deleted with the correct marker.
2003-11-07 16:52:23 -08:00
hniksic
bf1ce5b2ad
[svn] Use 0xff in hash_table_clear.
2003-11-07 16:48:12 -08:00
hniksic
e5332ac6fc
[svn] Improve documentation.
2003-11-07 16:20:10 -08:00
hniksic
1a0adb90b4
[svn] Don't force silent lookup.
2003-11-07 16:11:29 -08:00
hniksic
7d12ad0f36
[svn] Explicitly check that fd>=0 in register_extended.
2003-11-07 15:45:03 -08:00
hniksic
4a2a06a881
[svn] Set last_info.
2003-11-07 08:46:01 -08:00
hniksic
c929628ba8
[svn] No need to initialize NEWEL->next to NULL, it's already NULL.
2003-11-07 04:08:05 -08:00
hniksic
99625a869b
[svn] Improve documentation of "reserved" and "unsafe" chars.
2003-11-07 04:00:23 -08:00
hniksic
ab15dd054b
[svn] Allow NULL/0 as hash table keys.
2003-11-07 03:40:08 -08:00
hniksic
84db601be6
[svn] Allow empty port spec in URL.
2003-11-06 17:10:12 -08:00
hniksic
7409af5e07
[svn] Break up `--help' output to smaller chunks.
2003-11-06 15:56:26 -08:00
hniksic
19144a9f4c
[svn] Don't declare log_* functions in main.c.
2003-11-06 14:48:17 -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
bc764dbb7c
[svn] Improve SSL code. Only initialize PRNG when needed.
2003-11-06 05:06:59 -08:00
hniksic
49dfcb6036
[svn] Free INFO even if it doesn't register a closer.
2003-11-05 17:15:44 -08:00
hniksic
1484fe09f5
[svn] Use int for modification tick.
2003-11-05 17:13:21 -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
1131c6a116
[svn] Fix compilation under pre-C99 compilers.
2003-11-05 13:33:46 -08:00
hniksic
2d00f882e0
[svn] Make setsockopt(SO_REUSEADDR) non-fatal if fails.
2003-11-05 07:12:14 -08:00
hniksic
5355da917f
[svn] More specific error message in resolve_bind_address.
2003-11-05 06:42:42 -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
bc768ec88a
[svn] HAVE_FNMATCH_H is now HAVE_WORKING_FNMATCH_H.
2003-11-04 08:22:52 -08:00
hniksic
4914c2c49c
[svn] New file.
2003-11-04 08:06:38 -08:00
hniksic
086dd1ca8a
[svn] Delete config.h.in from `make realclean'.
2003-11-04 08:06:25 -08:00
hniksic
e75d817c09
[svn] Use autoheader to generate config.h.in.
2003-11-04 07:28:18 -08:00
hniksic
0e62563e27
[svn] Use more standard description.
2003-11-04 05:49:47 -08:00
hniksic
71b3daae55
[svn] Imported Mauro's IPv6 ChangeLog.
2003-11-04 05:40:21 -08:00
hniksic
f4cbba565e
[svn] Only set a flag in the SIGWINCH handler.
2003-11-04 05:37:14 -08:00
hniksic
9af99f3b83
[svn] Enable SYSTEM_FNMATCH only if fnmatch.h is available.
2003-11-03 17:09:54 -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
2f2939d23e
[svn] Don't shadow SEED.
2003-11-03 13:21:05 -08:00
hniksic
e958a474b0
[svn] Renamed logvprintf to log_vprintf_internal.
2003-11-03 12:08:46 -08:00
hniksic
3ec22d9843
[svn] Msg fix.
2003-11-02 18:44:41 -08:00
hniksic
b997a9d34f
[svn] Don't parenthesize argument to N_.
2003-11-02 16:28:53 -08:00