Commit Graph

60 Commits

Author SHA1 Message Date
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