Commit Graph

3919 Commits

Author SHA1 Message Date
Nils Maier
539fda0b4f LibUV: Code cleanup 2013-04-17 15:53:17 +02:00
Nils Maier
1cd5dcc9b6 LibUV: Correct event removal 2013-04-17 15:53:06 +02:00
Tatsuhiro Tsujikawa
71713709e5 Bump up version number to 1.17.0 2013-04-16 21:30:28 +09:00
Tatsuhiro Tsujikawa
9041be8e32 Add tailmatch testcase for cookie 2013-04-15 21:30:15 +09:00
Tatsuhiro Tsujikawa
f326955108 Fix sphinx warnings 2013-04-15 21:18:22 +09:00
Tatsuhiro Tsujikawa
adab7ace6e Merge branch 'master' of https://github.com/gsavix/aria2 into gsavix-master 2013-04-15 21:15:12 +09:00
gilberto dos santos alves
6ced9deef8 Update aria2c.rst
appletls warnings. first create private certificate with sha-1
2013-04-14 13:52:33 -03:00
gilberto dos santos alves
ca57f82dae Update aria2c.rst
type error metalink option rst title chars (mixed ~----~~
2013-04-14 13:32:04 -03:00
ITriskTI
a3aec02fe1 Update aria2c.rst 2013-04-14 18:33:03 +03:00
Tatsuhiro Tsujikawa
8a431bfc89 Don't wait for AAAA query response if A query response has been received
If we got IPv4 lookup response, we don't wait for IPv6 lookup
response. This is because DNS server may drop AAAA query and we have
to wait for the long time before timeout. We don't do the inverse,
because, based on todays deployment of DNS server, almost all of them
can respond A query just fine.
2013-04-14 21:12:46 +09:00
Tatsuhiro Tsujikawa
5e245c3397 Fix compile error without SSL/TLS lib 2013-04-14 18:43:16 +09:00
Tatsuhiro Tsujikawa
2e39fd6273 Check configured addresses again if previous check found none of them
Currently, aria2 checks configured addresses at the startup. But there
are chances that interfaces are not setup at that moment. For example,
if aria2 is used as daemon, it may start before network interfaces
up. To workaround this, we check addresses again if both addresses are
not configured at the startup.
2013-04-13 21:16:53 +09:00
Tatsuhiro Tsujikawa
994eb551f1 Append --static to pkg-config arguments when ARIA2_STATIC=yes 2013-04-13 00:47:38 +09:00
Tatsuhiro Tsujikawa
4070113ef0 Save options directly specified for download in --save-session
This change makes --save-session save only options specified for
download, more specifically, options in command-line, -i file and via
RPC. The other options from conf file and default values are not
saved.  This will drastically decrease the size of session file.
2013-04-11 23:13:21 +09:00
Tatsuhiro Tsujikawa
07d38e31ad Save URI returned only from FileEntry::getRemainingUris()
The currently used URIs are inserted back into remaining URI list in
FileEntry::putBackRequest(), which overlaps to some of the URIs in
spentUris_. If we save spent URIs, each time save is performed, the
number of URIs are increased due to this overlap. This change fixes
this bug.
2013-04-11 22:45:37 +09:00
Nils Maier
b874c7df11 AppleMD: Add destructors to make compilers happy 2013-04-10 08:51:57 +02:00
Nils Maier
9acd3df3cb LibUV: Implement LibuvEventPoll
LibUV event will use the best available polling method on a system, kind
of like aria2 does already with the different *EventPoll
implementations.
However, libuv may support different/newer polling mechanisms; for
example on Windows it will use IO Completion Ports which are superior to
select() ;)
2013-04-10 08:47:20 +02:00
Tatsuhiro Tsujikawa
b35fbd3172 Print linked 3rd party libraries with version in aria2c -v output 2013-04-10 00:23:39 +09:00
Tatsuhiro Tsujikawa
d0ff31faf8 Format MessageDigest.cc 2013-04-09 23:46:25 +09:00
Tatsuhiro Tsujikawa
f333231c7a Fix broken MessageDigst::getSupportedHashTypeString() 2013-04-09 23:45:28 +09:00
Tatsuhiro Tsujikawa
15e1a79914 Update TLSSession::checkDirection() doc
Make it clear that TLS_WANT_READ must be returned if underlying
SSL/TLS lib does not indicate I/O direction. This is because
SocketCore sets wantRead_ = true when TLS_WANT_READ is returned and
otherwise sets wantWrite_ = true. We only want to set wantWrite_ =
true iff we have some pending data to send.
2013-04-09 01:12:51 +09:00
Tatsuhiro Tsujikawa
83b801a0a5 Merge branch 'appletls-wantread' of https://github.com/nmaier/aria2 into nmaier-appletls-cred-kc 2013-04-09 01:09:16 +09:00
Nils Maier
16876a5334 AppleTLS: Fixup checkDirection() to return WANT_READ by default 2013-04-08 17:09:32 +02:00
Nils Maier
f9225db135 AppleTLS: Document new --rpc-certificate behavior 2013-04-08 07:15:38 +02:00
Nils Maier
82a861f8d8 AppleTLS: Support credentials via KeyChain fingerprints 2013-04-08 06:45:53 +02:00
Tatsuhiro Tsujikawa
89cf6c0468 Append comment to endif 2013-04-06 16:34:49 +09:00
Tatsuhiro Tsujikawa
457356ad13 Fix make distcheck 2013-04-06 16:33:15 +09:00
Tatsuhiro Tsujikawa
ddad275dbd Make log level INFO in addTrustedCACertFile()
With WARN level, they will be always printed on Mac OS and old GNUTLS
build which does not have its API.
2013-04-06 16:15:32 +09:00
Tatsuhiro Tsujikawa
35d00f6b7f Remove meta directive for now since it breaks manpage generation 2013-04-06 16:05:27 +09:00
Tatsuhiro Tsujikawa
e6d75020ea Fix openssl build 2013-04-06 16:04:58 +09:00
Nils Maier
5709746820 AppleTLS: Block worst ciphers and log session information 2013-04-05 23:31:20 +02:00
Nils Maier
0bcbd947b4 AppleTLS: Implement AppleTLS and Apple Message Digest 2013-04-05 23:10:47 +02:00
Tatsuhiro Tsujikawa
b292ae1305 Use info level log for system trusted ca imports failure
This is because on some platforms (gnutls on cygwin for example),
library always fails for this function and getting ERROR every time
aria2c invoked is too hard.
2013-04-05 01:07:43 +09:00
Tatsuhiro Tsujikawa
7994894172 Don't add Windows native DLLs for Cygwin build 2013-04-05 00:58:26 +09:00
Tatsuhiro Tsujikawa
81718d698b Update pt manual translation
Contributed by Gilberto dos Santos Alves
2013-04-05 00:51:15 +09:00
ITriskTI
ad75b0e0c1 Update aria2c.rst 2013-04-04 01:15:27 +03:00
Tatsuhiro Tsujikawa
7ce725098b Remove default value for deprecated --enable-async-dns6 to suppress warning 2013-04-03 02:27:45 +09:00
Tatsuhiro Tsujikawa
8580c98bce Abstract TLS session implementation
Now TLS session object is abstracted as TLSSession class. Currently,
we have GNUTLS and OpenSSL implementations.
2013-04-03 02:24:41 +09:00
Tatsuhiro Tsujikawa
10a19b1382 Update README.rst 2013-04-02 00:23:23 +09:00
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