Tatsuhiro Tsujikawa
795a0474df
clang-format-5.0
2017-11-23 14:11:43 +09:00
Tatsuhiro Tsujikawa
a005f29448
mingw: Fix compile error
2017-11-16 19:36:59 +09:00
Tatsuhiro Tsujikawa
5e7976af89
Merge pull request #1065 from kwkam/unknown-stat
...
UnknownLengthPieceStorage: Completed Length
2017-11-08 23:01:20 +09:00
kwkam
eef212d72a
UnknownLengthPieceStorage: return piece length
...
show something in console status when downloading items
with unknown content length
2017-11-08 15:17:47 +08:00
kwkam
dd60bba5ad
replace some lines with make_unique
2017-11-08 15:02:37 +08:00
Tatsuhiro Tsujikawa
3aed9cb533
mingw: Fix high CPU usage in BitTorrent downloads
...
This commit fixes high CPU usage in BitTorrent downloads. Only mingw
build is affected by this bug.
Thank you kwkam for identifying the cause of the issue, and helping
debugging this patch.
2017-11-06 21:21:54 +09:00
Tatsuhiro Tsujikawa
8f5eaa4bbb
Merge pull request #1059 from kwkam/patch-3
...
replace some lines with make_shared
2017-11-05 16:02:14 +09:00
Tatsuhiro Tsujikawa
16f458c9a4
Merge pull request #1058 from kwkam/patch-2
...
WinConsoleFile: fix colour properly
2017-11-05 16:01:53 +09:00
kwkam
89be2fc649
replace some lines with make_shared
2017-11-05 00:56:08 +08:00
kwkam
a45390c80b
WinConsoleFile: fix colour properly
2017-11-05 00:42:58 +08:00
kwkam
5c6bcfd2ad
util: also detect xdg_* env variables on windows
...
so if people like to keep FHS they could define XDG_* for it
2017-11-04 21:49:01 +08:00
Tatsuhiro Tsujikawa
aafa368885
Merge pull request #1038 from nicolov/patch-1
...
Retry on HTTP 502
2017-11-01 22:43:34 +09:00
Nils Maier
992944257c
MacOS: Allocate once (apfs compat)
2017-11-01 12:39:44 +01:00
Tatsuhiro Tsujikawa
85b102a2a0
Fix bug that signal handler does not work with libaria2
...
This commit fixes the bug that signal handler does not work with
libaria2 when aria2::RUN_ONCE is passed to aria2::run().
2017-10-31 23:04:37 +09:00
nicolov
07754e36e6
Retry on HTTP 502
2017-10-22 14:25:01 -07:00
Tatsuhiro Tsujikawa
8b32b26828
wintls: Potential fix for undecrypted read
2017-10-07 19:43:17 +09:00
Tatsuhiro Tsujikawa
64fe98a1ea
clang-format
2017-10-07 19:42:43 +09:00
Tatsuhiro Tsujikawa
0c62ae615d
libaria2: Return last error code from DownloadHandle::getErrorCode
2017-08-30 21:25:46 +09:00
Nils Maier
1fe6cc7356
Windows: pass writefds also as exceptfds to select()
...
winsock notifies connect() failures on exceptfds instead of writefds.
Fixes GH-969
Fixes GH-975
2017-08-28 18:19:04 +02:00
Nils Maier
2cfe19205b
libuv: use pkg-config
2017-07-31 15:52:19 +02:00
Nils Maier
086500cc21
FeatureConfig: align text
2017-07-31 15:50:32 +02:00
Kurt Kartaltepe
a3bacc0ff1
Add --peer-agent option
...
Add --peer-agent for setting the version/user agent used in the extended
handshake protocol for bittorrent.
2017-07-11 10:18:51 -05:00
Tse Kit Yam
4e656cc904
Update copyright year to 2017
2017-07-08 23:59:46 +08:00
Nils Maier
54ccab8ccb
AppleTLS: Silence cipher suite selection
2017-06-15 15:08:42 +02:00
Tatsuhiro Tsujikawa
e3b6460d07
Merge branch 'bt-load-saved-metadata'
2017-05-22 22:37:34 +09:00
Tatsuhiro Tsujikawa
9deb4210b2
Add --bt-load-saved-metadata option
...
Before getting torrent metadata from DHT when downloading with magnet
link, first try to read file saved by --bt-save-metadata option. If it
is successful, then skip downloading metadata from DHT. By default,
this feature is turned off.
2017-05-22 00:02:05 +09:00
Tatsuhiro Tsujikawa
3cfea3c724
Fix regression in bfc54d0b9a
...
Don't save control file if --auto-save-interval is 0.
2017-05-20 22:19:29 +09:00
Tatsuhiro Tsujikawa
8785342f85
Fix infinite loop bug when file is not found
2017-05-20 12:45:00 +09:00
Tatsuhiro Tsujikawa
9677586336
clang-format-4.0
2017-05-19 21:32:25 +09:00
Tatsuhiro Tsujikawa
fe2226b988
Fix compile error with toolchain which lacks IPV6_TCLASS
2017-05-08 22:45:12 +09:00
Tatsuhiro Tsujikawa
e441cf0575
Merge pull request #885 from aria2/notice-log-level-redirection-uri
...
Log directed URI in notice log level
2017-04-13 22:24:45 +09:00
Tatsuhiro Tsujikawa
c7a13f934c
Log directed URI in notice log level
2017-04-09 19:37:39 +09:00
Tse Kit Yam
1e8cf5151e
Fix typo
2017-04-01 23:19:57 +08:00
klemens
ec2ce4ffe5
spelling fixes
2017-03-20 22:44:41 +01:00
Fredrik Fornwall
68edbb358c
Remove unused Android parts
...
These parts where unused after merging https://github.com/aria2/aria2/pull/736
2017-03-18 01:01:18 +01:00
Tatsuhiro Tsujikawa
bfc54d0b9a
Save control file early
2017-03-02 22:54:11 +09:00
Tatsuhiro Tsujikawa
9eff8100ef
Refactor
2017-03-02 22:48:40 +09:00
Tatsuhiro Tsujikawa
6289aafaf8
Increase backlog to 1024
2017-03-02 22:23:29 +09:00
Tatsuhiro Tsujikawa
8fc0c85125
Propagate disk full error on pre-allocation to last error code
2017-02-23 21:34:58 +09:00
Tatsuhiro Tsujikawa
857d6a2a8e
Fix compiler warning with Android NDK clang
2017-01-23 00:58:44 +09:00
Tatsuhiro Tsujikawa
eecb5e055e
clang-format
2017-01-16 21:33:04 +09:00
Tatsuhiro Tsujikawa
744a5a550d
Better error message when local file status cannot be retrieved
2017-01-15 16:33:58 +09:00
Tatsuhiro Tsujikawa
c1a0b33515
Add constexpr if possible
2017-01-09 17:37:40 +09:00
Tatsuhiro Tsujikawa
e2dc0902bb
Fix assertion failure in SimpleRandomizer::getRandomBytes
...
errno might not be initialized to 0, and we may get both rv == -1 and
errno != ENOSYS. This leads to assertion failure. Since
getrandom_linux always returns -1 on failure, checking errno is
useless in this function.
2017-01-06 22:22:14 +09:00
Tatsuhiro Tsujikawa
b5d64230ba
Cast to unsigned char before passing it as uint32_t
2016-12-31 14:28:11 +09:00
JimmyZ
da730478af
new option content-disposition-default-utf8
2016-12-31 14:11:12 +09:00
Tatsuhiro Tsujikawa
388ae843ca
`make clang-format`
2016-12-15 22:37:19 +09:00
Tatsuhiro Tsujikawa
ddc1f1bfda
Fix bug that lower bound of optimize-concurrent-downloads becomes 1
2016-12-05 21:18:31 +09:00
Tatsuhiro Tsujikawa
4473b870f4
Merge pull request #795 from aria2/show-dht-nodes
...
Print DHT nodes with -S option
2016-12-04 10:32:30 +09:00
Tatsuhiro Tsujikawa
7a089ae04a
Merge pull request #794 from aria2/fix-dht-node-resolv
...
Take into account address family when resolving DHT node address
2016-12-04 10:31:53 +09:00