Commit Graph

3830 Commits (19b5b7e214a3d29e1579af4504ba5c90e1dc3e36)

Author SHA1 Message Date
Tatsuhiro Tsujikawa 19b5b7e214 Remove deprecated options: --enable-direct-io and --metalink-servers 2013-04-02 00:12:24 +09:00
Tatsuhiro Tsujikawa 7d65d38807 Remove --enable-async-dns6 from manual 2013-04-02 00:07:43 +09:00
Tatsuhiro Tsujikawa cd1f1fb56d Deprecate --enable-async-dns6
The IPv6 asynchronous name resolver is enabled if the host has at
least one interface with IPv6 address configured (the loopback address
will not be counted), which is roughly the same behaviour of the
standard getaddrinfo(3). To disable IPv6 asynchronous name resolver,
use --disable-ipv6.
2013-04-02 00:02:56 +09:00
Tatsuhiro Tsujikawa 26972b8535 Rewrite backup connection handling
Now dedicated ConnectCommand handles connection establishment.  It
checks whether connection is established or not.  It also handles
backup connection. The next Command creation is abstracted using
ControlChain struct template.
2013-04-01 23:51:33 +09:00
Tatsuhiro Tsujikawa cf23e3e11d Fix compile error without c-ares 2013-04-01 02:08:53 +09:00
Tatsuhiro Tsujikawa d575e3cc77 Rewrite async DNS portion without exception 2013-04-01 02:03:22 +09:00
Tatsuhiro Tsujikawa 497c1dd8c9 Use AsyncNameResolverMan in NameResolveCommand 2013-04-01 01:56:51 +09:00
Tatsuhiro Tsujikawa 12a3eaf233 Fix uninitialized UDPTrackerClient::numWatchers_ 2013-04-01 01:24:57 +09:00
Tatsuhiro Tsujikawa b5a6c39262 Use AsyncNameResolverMan in DHTEntryPointNameResolveCommand 2013-04-01 01:24:18 +09:00
Tatsuhiro Tsujikawa 597e1a5c1b Implement simple Happy Eyeballs for HTTP/FTP downloads 2013-04-01 00:12:27 +09:00
Tatsuhiro Tsujikawa d671d8bf36 mingw: Ignore tunnel interface and address in 169.254.* 2013-03-31 18:02:46 +09:00
Tatsuhiro Tsujikawa 80dbaf2566 Use util::sleep() instead of sleep() 2013-03-31 18:02:46 +09:00
Tatsuhiro Tsujikawa b9fb15f884 Use GetAdaptersAddresses for Mingw 2013-03-31 18:02:46 +09:00
Tatsuhiro Tsujikawa f4a0987544 Check non-loopback (and non-linklocak for IPv6) address is configured
Issue A record query only when non-loopback IPv4 address is
configured.  Likewise, issue AAA record query only when non-loopback
and non-linklocak IPv6 address is configured.
2013-03-31 18:02:45 +09:00
Tatsuhiro Tsujikawa 56fac58b4d Parallel A and AAAA record lookups with c-ares 2013-03-31 18:02:45 +09:00
Tatsuhiro Tsujikawa d2a171b2cb Bump up version number to 1.16.5 2013-03-24 17:45:45 +09:00
Tatsuhiro Tsujikawa 0e99d9fe15 Update NEWS 2013-03-24 17:36:58 +09:00
Tatsuhiro Tsujikawa 763ca925d7 Add note for android NDK toolchain installation for x86_64 Linux host 2013-03-24 17:30:11 +09:00
Tatsuhiro Tsujikawa 15b19f7baf Add timeout when receiving Multicast packet in LpdMessageDispatcherTest 2013-03-21 21:38:55 +09:00
Tatsuhiro Tsujikawa 0309d67aab Echo CC, CXX and CPP at the end of configure 2013-03-18 23:41:03 +09:00
Tatsuhiro Tsujikawa 5e4029a355 Fix unit test HttpRequestTest.cc 2013-03-18 22:47:12 +09:00
Tatsuhiro Tsujikawa 5535ed5f95 Code cleanup 2013-03-18 22:45:07 +09:00
Tatsuhiro Tsujikawa d88e815033 Fix bug that invalid range error when requesting range starting 0
Since the change b782a56b, we use endOffsetOverride_ as the return
value of getEndByte(). But aria2 does not send Range header field when
range starts 0 (this is because some server returns error if it
received Range: 0-), and the HttpRequest::isRangeSatisfied() checks
the equality of getEndByte() and the end byte in response header and
fails. The fix is send Range header if getEndByte() is set.
2013-03-18 22:01:36 +09:00
Tatsuhiro Tsujikawa 16a2780bfb Update README for binary dist 2013-03-17 16:24:00 +09:00
Tatsuhiro Tsujikawa a3e07aa857 Update NEWS 2013-03-17 16:08:08 +09:00
Tatsuhiro Tsujikawa 0fa92911d7 util.cc: Include only signal.h for opensolaris build 2013-03-17 15:42:50 +09:00
Tatsuhiro Tsujikawa 0741a14486 Revert 6b55f5d3 because it breaks opensolaris build 2013-03-17 15:42:16 +09:00
Tatsuhiro Tsujikawa 09cc9d876a Add UDP Tracker specification to References section 2013-03-17 11:34:23 +09:00
Tatsuhiro Tsujikawa 8c7904116a Add reference to online Portuguese translated manual 2013-03-17 11:25:14 +09:00
Tatsuhiro Tsujikawa 18ad88088d Fix typo in GZipFile.h spelling 2013-03-16 20:40:39 +09:00
Tatsuhiro Tsujikawa 4808715e66 State explicitly that pkg-config is required 2013-03-13 21:55:21 +09:00
Tatsuhiro Tsujikawa 86f5d01708 aria2_arg.m4: Doc fix 2013-03-12 23:35:04 +09:00
Tatsuhiro Tsujikawa 2e94b4e4eb Revert dbb12d1bc8 2013-03-12 23:34:24 +09:00
ITriskTI d77f16f5ba Update aria2c.rst 2013-03-06 11:12:56 +03:00
Tatsuhiro Tsujikawa bf10925fc3 Bump up version number to 1.16.4 2013-03-06 00:51:33 +09:00
Tatsuhiro Tsujikawa dbb12d1bc8 aria2_arg.m4: Doc fix and use default=yes instead of check 2013-03-04 23:50:33 +09:00
Tatsuhiro Tsujikawa 9c2202c899 Merge branch 'clear-configure' of https://github.com/nmaier/aria2 into nmaier-clear-configure 2013-03-04 23:46:57 +09:00
Tatsuhiro Tsujikawa 85de8b0642 Revert DownloadEngine.cc change in 6b55f5d3 because Debian Lenny breaks 2013-03-04 22:32:51 +09:00
Nils Maier 4d6bf959a6 Make configure argument meaning more consistent and obvious.
Most other software uses --disable/--without for features it does build
or at least check by default.

Change aria2 configure options so that:
 * --enable-*: do not build by default, unless --enable specified
 * --disable-*: check and build by default, unless --disable specified
 * --with-*: do not use by default, unless --with specified
 * --without-*: check and use by default, unless without specified
2013-03-03 15:01:21 +01:00
Tatsuhiro Tsujikawa 8c0d901f3e Merge branch 'oot-sphinx' of https://github.com/nmaier/aria2 into nmaier-oot-sphinx 2013-03-03 22:57:22 +09:00
Tatsuhiro Tsujikawa 588ee2f1cc GZipFile: Move buf_, buflen_ to initializer list 2013-03-03 22:55:44 +09:00
Nils Maier 4f2c1b86eb Allow for out-of-tree Sphinx builds 2013-03-03 14:50:16 +01:00
Tatsuhiro Tsujikawa 43cb2d880a Rewrite GZipFile::vprintf()
MINGW does not have vasprintf(), so we use _vscprintf() and
vsnprintf(). We want to reuse buffer, so for non-MINGW we use
vsnprintf() with retrying doubling buffer size if output is truncated.
2013-03-03 21:49:42 +09:00
Tatsuhiro Tsujikawa e17d0f8d4e Bring back datetime in console log 2013-03-03 18:35:07 +09:00
Tatsuhiro Tsujikawa 66a85777ad Document UDP tracker in manual 2013-03-03 18:28:25 +09:00
Tatsuhiro Tsujikawa baaa3a4fb2 Use IndexedList::remove_if to clean up RequestGroupMan::removeStoppedGroup 2013-03-03 18:08:19 +09:00
Tatsuhiro Tsujikawa d4ba562710 Implement IndexedList::iterator
It is dangerous to expose internal iterator to the outside, which is
easily misused.
2013-03-03 18:00:42 +09:00
Tatsuhiro Tsujikawa 421ae13d40 Run checksum check if -V and -c are used and file is completed
With -c option, aria2 can continue download after the existing file
position. If it is not completed, then after completion aria2 runs
checksum checking if available. But if existing file has already been
completed, then CreateRequestCommand exits without issuing checksum
checking. And aria2 treats it download error because it needs checksum
verification but it has not been done. This change fixes this by
properly checking download state and issue checksum checking before
CreateRequestCommand.
2013-03-03 17:18:12 +09:00
Tatsuhiro Tsujikawa 841fdbb965 Add GZipFileTest
For now, it is a copy of BufferedFileTest.cc
2013-03-03 14:16:32 +09:00
Tatsuhiro Tsujikawa 9b99875478 Add writeOptionLine() to format 1 line of option name/value pair 2013-03-03 14:12:59 +09:00