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

69 Commits

Author SHA1 Message Date
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
hniksic
90cb3309da [svn] Imported Mauro's IPv6 changes. 2003-10-29 10:23:56 -08:00
hniksic
5155384340 [svn] Look for and use socklen_t. 2003-10-10 18:39:07 -07:00
hniksic
351c4b9add [svn] Include winsock headers from mswindows.h.
By Gisle Vanem.
2003-10-03 09:37:47 -07:00
hniksic
566289ea9d [svn] Added comment about SO_SNDBUF for post. 2003-09-22 06:55:22 -07:00
hniksic
b8fa2039a7 [svn] Doc update. 2003-09-22 06:34:55 -07:00
hniksic
51a8e9fa50 [svn] Enabled separation of different timeout values. 2003-09-20 21:41:55 -07:00
hniksic
7870937036 [svn] Allow decimal values for --timeout, --wait, and --waitretry.
Message-ID: <m3llsjhx6t.fsf@hniksic.iskon.hr>
2003-09-20 16:12:18 -07:00
hniksic
d54b2a086d [svn] Improved --limit-rate for small bandwidths.
Message-ID: <m3znh5n2og.fsf@hniksic.iskon.hr>
2003-09-15 14:48:43 -07:00
hniksic
0a3697ad65 [svn] New mechanism for quoting file names.
Published in <m3smmzt4px.fsf@hniksic.iskon.hr>.
2003-09-14 15:04:13 -07:00