kwkam
25ae17b490
src/WinConsoleFile.cc: fix colour
...
Set default foreground/background colour correctly
2016-02-12 14:24:04 +08:00
Tatsuhiro Tsujikawa
5e48e01bf9
Don't inherit file descriptor to child process
...
For non-Mingw32 build, set FD_CLOEXEC to file descriptors which live
beyond function scope. For Mingw32 build, just pass false to
bInheritHandles parameter of CreateProcessW.
2016-02-08 00:09:17 +09:00
Tatsuhiro Tsujikawa
ab40ee58b8
Merge pull request #558 from ITriskTI/patch-1
...
Update aria2c.rst
2016-02-04 00:51:04 +09:00
ITriskTI
70e46516a1
Update aria2c.rst
2016-02-03 17:29:22 +03:00
Tatsuhiro Tsujikawa
a0d851ddfa
Fix typo
2016-02-03 22:22:07 +09:00
Tatsuhiro Tsujikawa
25615fcb17
Add "seeder" key to tellStatus RPC response
2016-02-03 22:21:37 +09:00
Tatsuhiro Tsujikawa
dbcf07fd11
Don't use ac_save_* in configure.ac since they are overwritten by macro
2016-02-03 00:52:27 +09:00
Tatsuhiro Tsujikawa
2a4d39b7e8
Don't add C++11 switch flags to CXXFLAGS
2016-01-30 19:14:38 +09:00
Tatsuhiro Tsujikawa
e4d4eabd85
Use std::make_unique if C++14 is used
2016-01-30 19:13:41 +09:00
Tatsuhiro Tsujikawa
83aae472fa
Use ac_save_* instead of old_*
2016-01-30 18:55:51 +09:00
Tatsuhiro Tsujikawa
cf2fa33fe0
WinTLS: Fix hang because of buffered received data
...
WinTLSSession buffers received decrypted data into its own buffer. If
read is requested, it copies the data from its buffer. But if
requested buffer size is less than decrypted buffer, some of the data
is left in the buffer. Previously, we had no facility to check the
existence of this pending data. If this data is the last requested
data from remote server, we may end up waiting for read event even if
we have already data in our buffer, which may cause hang. This commit
fixes this issue by introducing function to return the buffered length
in TLSSession. SocketCore also provides the same function, which
delegates to TLSSession object.
2016-01-30 00:17:54 +09:00
Tatsuhiro Tsujikawa
9624747531
Merge pull request #549 from luokar/patch-1
...
Fix a docker instruction.
2016-01-29 21:12:40 +09:00
Tatsuhiro Tsujikawa
0b7ee8be21
Merge pull request #548 from ITriskTI/patch-2
...
Update aria2c.rst
2016-01-29 21:12:03 +09:00
Tatsuhiro Tsujikawa
1bb7abc0d9
Merge pull request #547 from ITriskTI/patch-1
...
Fixed warning
2016-01-29 21:11:19 +09:00
luokar
cd01bce04a
Fix a docker instruction.
2016-01-29 19:54:43 +08:00
ITriskTI
e48cd33e3f
Update aria2c.rst
2016-01-29 13:25:26 +03:00
ITriskTI
415a70bbd6
Fixed warning
...
WARNING: unknown option: --save-session-file
2016-01-29 13:21:17 +03:00
Tatsuhiro Tsujikawa
e059cca2be
Add doc about versioning and release schedule
2016-01-29 15:16:13 +09:00
Tatsuhiro Tsujikawa
8f51793b19
Add --max-mmap-limit option
...
Set the maximum file size to enable mmap (see --enable-mmap
option). The file size is determined by the sum of all files contained
in one download. For example, if a download contains 5 files, then
file size is the total size of those files. If file size is strictly
greater than the size specified in this option, mmap will be disabled.
2016-01-29 00:14:30 +09:00
Tatsuhiro Tsujikawa
fc95a91eb6
mingw: Use SetFileValidData to make --file-allocation=falloc work
2016-01-28 23:15:04 +09:00
Tatsuhiro Tsujikawa
25243da039
mingw: Add formatLastError as wrapper function for FormatMessage
2016-01-28 22:25:46 +09:00
Tatsuhiro Tsujikawa
ad6d799b98
Retry with 504 status code
2016-01-26 15:49:05 +09:00
Tatsuhiro Tsujikawa
8203ee3d0d
Increase DHT transaction ID from 2 to 4 bytes to avoid conflict
2016-01-23 12:39:42 +09:00
Tatsuhiro Tsujikawa
26c1b46a62
Fix wslay configure error
2016-01-22 23:50:02 +09:00
Tatsuhiro Tsujikawa
28562b3f6d
Update wslay
2016-01-22 23:41:43 +09:00
Tatsuhiro Tsujikawa
dda0b62fb9
Add --enable-werror option to configure to enable warning flags
2016-01-22 23:22:46 +09:00
Tatsuhiro Tsujikawa
59beb6488f
Untabify configure.ac
2016-01-22 22:36:00 +09:00
Tatsuhiro Tsujikawa
f6fc952486
Don't modify user variables (e.g., CFLAGS, LIBS, etc)
2016-01-22 22:27:39 +09:00
Tatsuhiro Tsujikawa
6da1e9989c
migw: Fix build failure
2016-01-22 22:19:55 +09:00
Tatsuhiro Tsujikawa
d648062851
Replace sourforge reference to the new site
2016-01-22 09:09:58 +09:00
Tatsuhiro Tsujikawa
5892291c55
clang-format-3.6
2016-01-21 23:16:58 +09:00
Tatsuhiro Tsujikawa
aaab5bbc74
Improve error message when loading pkcs12 file failed
2016-01-21 23:13:13 +09:00
Tatsuhiro Tsujikawa
9acd322db8
Merge pull request #538 from c3mb0/master
...
Updated dependency and source url's
2016-01-21 18:33:47 +09:00
c3mb0
aad9838b34
Removed the unnecessary newline
2016-01-20 15:08:47 +02:00
c3mb0
8be520d419
Updated dependency and source url's
...
The RaspberryPi Dockerfile had some out-of-date dependency packages and
was downloading an outdated aria2 source from Sourceforge, which
resulted in a build for version 1.19.0. The new
fetch-latest-release-from-GitHub script I've cooked up should always
work as long as GitHub doesn't change their API and aria2's platform
agnostic releases follow the "{version number}.tar.bz2" naming format.
2016-01-20 14:13:59 +02:00
Tatsuhiro Tsujikawa
8b93b12488
Reduce delay in tracker request
...
We eliminated 1 second delay between completion of name resolution for
tracker request and time when it is actually issued. We also elimited
1 second delay after last torrent download exists and it is told to
DHTInteractionCommand.
2016-01-19 11:24:57 +09:00
Tatsuhiro Tsujikawa
7b2e797fdf
Disable IPv6 on non-async NameResolver if configuration wants
2016-01-19 10:50:21 +09:00
Tatsuhiro Tsujikawa
ffec92ec57
Fix mysterious 1 second delay with async DNS
2016-01-19 10:42:25 +09:00
Tatsuhiro Tsujikawa
e6b6aa324b
UDP tracker: Log transaction ID and connection ID in hex string
2016-01-19 00:24:21 +09:00
Tatsuhiro Tsujikawa
dd678b7c65
UDP tracker: Use unsigned integer for transaction ID and connection ID
2016-01-18 23:47:31 +09:00
Tatsuhiro Tsujikawa
ddb94ebdac
Fix bug that UDP port was incorrectly used in UDP tracker announce request
2016-01-18 23:29:07 +09:00
Tatsuhiro Tsujikawa
9b41970134
Don't use std::random_device directly as suggested by document
...
See http://en.cppreference.com/w/cpp/numeric/random/random_device
2016-01-17 17:30:36 +09:00
Tatsuhiro Tsujikawa
0282899bfa
Fix compile error
2016-01-16 21:21:16 +09:00
Tatsuhiro Tsujikawa
aa06a17fda
Refactor HttpRequest
...
This also makes comparison performed when replacing builtin header
field with user-defined one case-insensitive.
2016-01-10 16:59:31 +09:00
Tatsuhiro Tsujikawa
bf9d99f291
Send Want-Digest as per RFC 3230
2016-01-10 16:10:57 +09:00
Tatsuhiro Tsujikawa
ea4d99ea08
Refactor SocketCore::getPeerInfo, getAddrInfo to return Endpoint object
2016-01-09 18:17:04 +09:00
Tatsuhiro Tsujikawa
e899eba76f
Define SockAddr and use it instead of raw std::pair
2016-01-09 17:20:03 +09:00
Tatsuhiro Tsujikawa
d2d06395d9
Try all found address set to bind sockets with --multiple-interface
...
Fixes GH-523
2016-01-09 14:06:09 +09:00
Tatsuhiro Tsujikawa
e92027b9f0
clang-format
2016-01-05 16:23:58 +09:00
Tatsuhiro Tsujikawa
8246fd1ff5
Updating upload size and speed must be done separately
2016-01-05 16:23:58 +09:00