hniksic
2686b2dd93
[svn] Doc fix.
2005-07-03 18:07:59 -07:00
hniksic
3d66119d34
[svn] Document test_socket_open.
2005-07-03 17:55:12 -07:00
hniksic
550c39e714
[svn] Correctly print SSL errors.
2005-07-03 14:20:33 -07:00
hniksic
db9de5b075
[svn] Update FSF's address and copyright years.
2005-07-01 19:26:52 -07:00
hniksic
c1fb83c53b
[svn] Renamed "pretty_print_address" to "print_address".
2005-06-30 13:03:18 -07:00
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
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
hniksic
cd8b1259f1
[svn] IPv6 configure auto-detection.
2003-09-09 12:30:45 -07:00
hniksic
b2be7522c7
[svn] Update the license to include the OpenSSL exception.
2002-05-17 19:16:36 -07:00
hniksic
9f2cc07924
[svn] Minor cleanup of iread/iwrite.
...
Published in <sxsk7raj1t2.fsf@florida.arsdigita.de>.
2002-04-13 22:19:27 -07:00
hniksic
5cb8a6f44d
[svn] Add the POST method.
...
Published in <sxssn5yj4eb.fsf@florida.arsdigita.de>.
2002-04-13 21:22:47 -07:00
hniksic
f3d3a50a56
[svn] Generalize connect_with_timeout into run_with_timeout.
...
Published in <sxs4rifxndi.fsf@florida.arsdigita.de>.
2002-04-13 15:18:28 -07:00
hniksic
0cd669109b
[svn] Implement connect timeout.
...
Published in <sxs1ydld8ha.fsf@florida.arsdigita.de>.
2002-04-11 18:14:18 -07:00
hniksic
a69cb0c3ad
[svn] Various IPv6 fixes.
...
Submitted in <sxsd6zz2jf7.fsf@florida.arsdigita.de>.
2002-01-24 19:34:23 -08:00
hniksic
cb40034035
[svn] Commit IPv6 support by Thomas Lussnig.
...
Published in <sxsk7u8715e.fsf@florida.arsdigita.de>.
2002-01-23 21:45:54 -08:00
hniksic
8196a09904
[svn] Don't reuse IP addresses proven to be faulty, unless only such ones remain.
...
Published in <sxs8zcsfemf.fsf@florida.arsdigita.de>.
2001-11-27 06:55:40 -08:00
hniksic
9656223552
[svn] Fix FTP PASV output.
...
Published in <sxslmgsfkgj.fsf@florida.arsdigita.de>.
2001-11-27 04:49:13 -08:00
hniksic
024cb5ed3a
[svn] A lot of host name changes.
...
Published in <sxs3d32856s.fsf@florida.arsdigita.de>.
2001-11-25 21:36:33 -08:00
hniksic
95631700f7
[svn] Remove host canonicalization code.
...
Published in <sxsg072ai5v.fsf@florida.arsdigita.de>.
2001-11-25 09:13:20 -08:00
hniksic
d60b54cba0
[svn] Applied Chris Seawood's patch for compilation under BEOS.
...
Patch published in <3B5D4CEF.5090208@seawood.org>.
2001-11-16 08:58:08 -08:00
hniksic
0b056d1720
[svn] Update copyright notices.
2001-05-27 12:35:15 -07:00
hniksic
3f91c7dfe1
[svn] Declare addrlen as int. Published in <sxsu27cbtzu.fsf@florida.arsdigita.de>.
2001-01-10 07:06:00 -08:00
hniksic
7828e81c79
[svn] Committed C. Frankel's SSL patch.
2000-12-05 15:09:41 -08:00
hniksic
b0b1c815c1
[svn] A bunch of new features:
...
- use mmap() to read whole files in core instead of allocating memory
and read'ing it.
- use a new, more general, HTML parser (html-parse.c) and interface to
it from Wget (html-url.c).
- respect <meta name=robots content=nofollow> (easy with the new HTML
parser).
- use hash tables instead of linked lists in places where the lists
were used to facilitate mappings.
- rewrite the code in host.c to be more readable and faster (hash
tables instead of home-grown lists.)
- make convert_links properly convert partial URLs to complete ones
for those URLs that have *not* been downloaded.
- use HTTP persistent connections where available. very
simple-minded, caches the last connection to the server.
Published in <sxshf533d5r.fsf@florida.arsdigita.de>.
2000-11-19 12:50:10 -08:00
dan
1396b30055
[svn] Manually applied Rob Mayoff <mayoff@dqd.com>'s patch (vs. 1.5.3, not 1.5.3+dev)
...
to add --bind-address, making many necessary alphabetization, coding style,
comment, documentation, and naming fixes and additions.
2000-10-23 23:19:17 -07:00
kwget
31d6616c48
[svn] Initial revision
1999-12-01 23:42:23 -08:00