Commit Graph

4777 Commits

Author SHA1 Message Date
Tatsuhiro Tsujikawa
af98861aff Evict timed out pooled socket periodically
Previously we only scanned pool socket to check they are timed out
when we pooled another socket.  This means that pooled socket is not
closed long time (stays in CLOSE-WAIT state) if we don't pool any more
socket.  In this commit, we now check pooled socket periodically (30
seconds) to avoid the sockets hanging in CLOSE-WAIT state long time.

See GH-477
2015-11-11 22:31:00 +09:00
Tatsuhiro Tsujikawa
269520ee69 Don't write control file if content is not changed from previous one
This is desirable so that we don't have to wake up disk if control
file is not changed, and it is not have to be written again.  We use
the same method (SHA1 hash) to check the content is the same.  The
limitation is the hash is stored in memory, so we have to write the
first time in each session.

See GH-382
2015-11-10 23:02:21 +09:00
Tatsuhiro Tsujikawa
5ccd5b6953 Remove content-length and content-range if transfer-encoding is given
See GH-473
2015-11-04 00:28:44 +09:00
Tatsuhiro Tsujikawa
4bbc71c8e6 Retry after 404 status if --max-file-not-found > 0 2015-10-24 01:15:43 +09:00
Tatsuhiro Tsujikawa
2873b96ee7 Update NEWS 2015-10-04 17:39:14 +09:00
Tatsuhiro Tsujikawa
83466f9983 Bump up version number to 1.19.2 2015-10-04 17:37:42 +09:00
Tatsuhiro Tsujikawa
85faafcaf2 Fix bug that progress summary is not shown timely 2015-09-29 21:16:41 +09:00
Tatsuhiro Tsujikawa
f57947d236 Update doc 2015-09-27 23:50:14 +09:00
Tatsuhiro Tsujikawa
bc0d903f8e Copy test logs as well 2015-09-27 23:49:44 +09:00
Tatsuhiro Tsujikawa
db443d848c Update NEWS 2015-09-21 23:01:38 +09:00
Tatsuhiro Tsujikawa
3ce0d91757 Update NEWS 2015-09-21 22:59:45 +09:00
Tatsuhiro Tsujikawa
031b86d512 Return 400 status code if there is an error in RPC level
200 status code means success.  Since the request did not succeed, we
should avoid it.
2015-09-21 22:58:31 +09:00
Tatsuhiro Tsujikawa
e7eedfc8cf Bump up version number to 1.19.1 2015-09-21 22:56:43 +09:00
Tatsuhiro Tsujikawa
e22cfcd85b Update NEWS 2015-09-21 22:56:22 +09:00
Tatsuhiro Tsujikawa
281002072f Add libssh2 to android build instruction 2015-09-19 19:42:04 +09:00
Tatsuhiro Tsujikawa
e47b012969 mkapiref.py: Add class name to member functions and methods 2015-09-19 19:40:50 +09:00
Tatsuhiro Tsujikawa
31f88ef387 Update mingw toolchain info 2015-09-19 18:17:49 +09:00
Tatsuhiro Tsujikawa
8752a6f7cd aria2c.rst: Update copyright year 2015-09-19 18:09:45 +09:00
Tatsuhiro Tsujikawa
3508c7a5a1 Merge branch 'amtlib-dot-dll-amtlib-dot-dll-patch-cacerts-stdout' 2015-08-30 17:05:14 +09:00
amtlib-dot-dll
8f64d72cbc Update README.android
Providing some workarounds about CA certificates and standard output
2015-08-30 12:59:13 +08:00
Tatsuhiro Tsujikawa
17e5c98ba6 Return 200 HTTP status code if exception was caught while executing RPC method
Previously, we returned 500 HTTP status code.  I think the found in
RPC level, not in HTTP protocol, so 500 is not appropriate.
2015-08-15 17:56:05 +09:00
Tatsuhiro Tsujikawa
925b5cec07 WinTLS: Fix potential infinite loop 2015-08-07 22:20:04 +09:00
Tatsuhiro Tsujikawa
52c68c431d Fix on-download-error is executed even if download succeeded 2015-08-01 21:42:03 +09:00
Tatsuhiro Tsujikawa
008aba66d5 Check nullptr is supported by C++ compiler 2015-07-29 21:37:59 +09:00
Tatsuhiro Tsujikawa
4da5af0f3b Merge branch 'elieux-mingw' 2015-07-19 17:17:09 +09:00
Tatsuhiro Tsujikawa
f6f3bd3c3a Merge branch 'mingw' of https://github.com/elieux/aria2 into elieux-mingw 2015-07-19 16:30:39 +09:00
Tatsuhiro Tsujikawa
4b924702bc Fix Dockerfile.mingw
Patch from Adam Baxter
2015-07-19 16:22:35 +09:00
Tatsuhiro Tsujikawa
c3b89d37e1 Increase --select-file upper bound to 1m for torrent containing lots of files 2015-07-08 21:37:49 +09:00
Tatsuhiro Tsujikawa
7e3d82cb22 Fix busy loop with --dry-run and 4xx response for URI listed in metalink
See GH-430
2015-06-26 21:38:03 +09:00
Nils Maier
8fddf1bb7e Update sqlite in OSX build to 3.8.10.2 2015-06-24 14:49:39 +02:00
Nils Maier
a3ba5c0588 Make clang (OSX) happy again 2015-06-24 14:26:43 +02:00
Nils Maier
3f2b5dce2f Make LibuvEventPoll compatible with the latest libuv again 2015-06-24 13:59:44 +02:00
Tatsuhiro Tsujikawa
11b25b7a55 Fix formatting issue for avg speed in Download Result 2015-06-22 22:18:58 +09:00
Tatsuhiro Tsujikawa
1adef4db0c Fix compile warning with Mingw64 x86 build 2015-06-21 20:53:08 +09:00
Tatsuhiro Tsujikawa
318c804504 Use user-defined literal for k, m, and g (powers of 1024) 2015-06-21 19:29:54 +09:00
Tatsuhiro Tsujikawa
8ba9b04747 Cleanup for defines 2015-06-21 17:42:27 +09:00
Tatsuhiro Tsujikawa
f5ff5da9da Use constexpr for macros defined in BtConstants.h 2015-06-21 17:33:23 +09:00
Tatsuhiro Tsujikawa
95f2c00c71 Remove unused macros defined in util.h 2015-06-21 17:17:40 +09:00
Tatsuhiro Tsujikawa
7b3f94145d Make constexpr macros in DHTConstant.h 2015-06-21 17:05:02 +09:00
Tatsuhiro Tsujikawa
0b48bb1dbd Use user-defined literals for time units 2015-06-21 15:30:02 +09:00
Tatsuhiro Tsujikawa
dd277b33af gnutls: Allow SIGN-RSA-SHA1 for compatibility reason 2015-06-21 15:16:15 +09:00
Tatsuhiro Tsujikawa
377eb0699f Use std::begin and std::end 2015-06-11 23:51:41 +09:00
Tatsuhiro Tsujikawa
37c2edd97a Use std::shuffle, instead of std::random_shuffle 2015-06-11 22:40:56 +09:00
Tatsuhiro Tsujikawa
8448b5062f Use std::begin and std::end 2015-06-11 21:37:00 +09:00
Tatsuhiro Tsujikawa
2bbec1086d Use std::make_shared 2015-06-11 21:25:19 +09:00
Tatsuhiro Tsujikawa
2448a8660b Merge branch 'chrono' 2015-06-09 03:59:47 +09:00
Tatsuhiro Tsujikawa
ce89e26e55 Remove clock_gettime detection and its replacements 2015-06-09 03:45:40 +09:00
Tatsuhiro Tsujikawa
826c239ed2 Fix compiler warning on 32 bit platform 2015-06-09 03:24:14 +09:00
Tatsuhiro Tsujikawa
b0f440e631 Rewrite Time with chrono 2015-06-09 03:15:10 +09:00
Tatsuhiro Tsujikawa
99cd73c092 Replace timer facility with chrono lib 2015-06-09 02:05:34 +09:00