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

78 Commits

Author SHA1 Message Date
hniksic
74fbb03b10 [svn] Use bool type for boolean variables and values. 2005-06-22 12:38:10 -07:00
hniksic
976cc5bfca [svn] Define the IF_DEBUG macro. 2005-06-21 18:26:22 -07:00
hniksic
b317cb1c6d [svn] Expect existence of C89 functions, as well as of select and gettimeofday. 2005-06-21 18:01:12 -07:00
hniksic
277e840a0f [svn] Remove K&R support. 2005-06-19 15:34:58 -07:00
hniksic
e2e349b2ca [svn] Stop using AI_ADDRCONFIG. 2005-06-17 09:48:29 -07:00
hniksic
4206f96614 [svn] Gettext-ize previously missed messages.
By Benno Schulenberg.
2005-06-15 13:26:37 -07:00
hniksic
5feb3f6696 [svn] Check for the server's identity after the SSL handshake. 2005-05-10 08:17:37 -07:00
hniksic
c2c41a6b14 [svn] Remove unreachable "break" statements. 2005-04-28 06:52:02 -07:00
hniksic
e14d2b8115 [svn] Make retryable_socket_connect_error return 0 on ENETUNREACH and
EHOSTUNREACH.
2005-04-24 10:13:42 -07:00
mtortonesi
f5530752bf [svn] Set IPV6_V6ONLY socket option when -6 switch is used. 2005-04-20 18:26:33 -07: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
f8aa522afb [svn] Doc fix to fd_peek. 2005-03-16 13:44:22 -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
3d04bb3a2c [svn] Avoid unneeded initialization of local var. 2005-02-28 10:48:23 -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
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
c5cc9f39cc [svn] Don't set the IPV6_V6ONLY option on the socket. 2003-12-12 06:14:53 -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
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
51b0fdbace [svn] It's not necessary to initialize RES. 2003-11-19 16:42:21 -08:00
hniksic
3792aa7058 [svn] Don't compile socket_has_inet6 if IPv6 is disabled. 2003-11-19 04:07:42 -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
133d69ff24 [svn] Don't auto-set opt.ipv4_only on systems without IPv6 sockets. 2003-11-17 04:59:54 -08:00
hniksic
8e330fdba0 [svn] Add support for -4/-6. 2003-11-14 17:49:52 -08:00
hniksic
4e58524e8f [svn] Renamed register_extended to register_transport. 2003-11-14 05:43:46 -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
02f90322e8 [svn] Network updates. 2003-11-10 05:20:46 -08:00
hniksic
8ccc51e5af [svn] Split passive host lookups to a separate function. 2003-11-09 17:38:09 -08:00
hniksic
d7e592d797 [svn] Replace conaddr with socket_ip_address. 2003-11-07 18:57:51 -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
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
6d3df65e88 [svn] Generalized the third argument to select_fd. 2003-11-02 15:17:59 -08:00
hniksic
c12e07faa6 [svn] Cosmetic change. 2003-11-02 13:16:43 -08:00
hniksic
7ec83a1b2a [svn] Don't call select_fd unless timeout is desired. 2003-11-01 06:01:53 -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
83e7fe2ca8 [svn] Retired broken code that checked for NULL ip_address in sockaddr_set_data. 2003-10-31 04:20:14 -08:00
hniksic
add61a2d9c [svn] Networking improvements: get rid of the MSOCK global variable,
move the sockaddr handling to connect.c, make sure Wget refreshes
the DNS lookup after it becomes stale.
2003-10-30 16:18:08 -08:00
hniksic
6f1250b1c6 [svn] Updated IPv6 code. 2003-10-29 15:13:25 -08:00