Commit Graph

4315 Commits

Author SHA1 Message Date
Tatsuhiro Tsujikawa
169cd6a309 aria2rpc: Fix non-TLS connection 2014-03-15 19:28:46 +09:00
Tatsuhiro Tsujikawa
a67096522d Merge branch 'dscp-support' of https://github.com/iavael/aria2 into iavael-dscp-support 2014-03-14 02:34:38 +09:00
Alexander Amanuel
dccd8192a4 Added DSCP support for IPv6 sockets 2014-03-12 15:22:46 +04:00
David Macek
4dea7ae5cf ENH: Added support for RPC channel encryption in aria2rpc 2014-03-11 10:54:18 +01:00
Kcchouette
fd2380de26 Correct a variable 2014-03-01 15:28:10 +01:00
Tatsuhiro Tsujikawa
a8319a8b78 Add aria2.saveSession RPC method
This method saves the current session to a file specified by
--save-session option. This method returns "OK" if it succeeds.
2014-02-19 22:02:50 +09:00
Tatsuhiro Tsujikawa
1a24020e63 Don't allow empty string for --rpc-secret option 2014-02-19 21:46:06 +09:00
Tatsuhiro Tsujikawa
de4cd8b59b Warn if neither --rpc-secret nor a combination of --rpc-user/rpc-passwd is set 2014-02-19 21:37:11 +09:00
Nils Maier
00e690a4d1 Add some missing includes to AnnounceList.h 2014-02-19 03:09:59 +01:00
ITriskTI
8aff857f76 Update aria2c.rst 2014-02-15 15:15:39 +03:00
Tatsuhiro Tsujikawa
1462d6536a Add numStoppedTotal key to aria2.getGlobalStat() RPC method response
It shows the number of stopped downloads in the current session and
not capped by --max-download-result option. On the other hand, the
existing numStopped key also shows the number of stopped downloads,
but it is capped by --max-download-result option.
2014-02-15 19:10:48 +09:00
Tatsuhiro Tsujikawa
154a3e5ffb Update doc 2014-02-12 23:53:15 +09:00
Tatsuhiro Tsujikawa
b18e62dba7 Treat 30X response without Location header field as error
This is required to make segmented download work.
2014-02-05 21:20:09 +09:00
Tatsuhiro Tsujikawa
ec4b729704 Better handling of 30X HTTP status codes
Reference: http://greenbytes.de/tech/tc/httpredirects/
2014-02-05 00:32:43 +09:00
Tatsuhiro Tsujikawa
bdc9c8a991 Document --dscp option in manual page 2014-02-04 21:55:35 +09:00
Tatsuhiro Tsujikawa
06bb6d1ac0 Fix longer line in --dscp option help 2014-02-04 21:52:28 +09:00
Tatsuhiro Tsujikawa
1438933c97 Merge branch 'dscp-support' of https://github.com/iavael/aria2 into iavael-dscp-support
Conflicts:
	src/prefs.cc
	src/prefs.h
	src/usage_text.h
2014-02-04 21:42:00 +09:00
Alexander Amanuel
a7182b9ee4 Improved dscp parameter description 2014-02-03 17:53:07 +04:00
Tatsuhiro Tsujikawa
7d1aa887ee Add future deprecation warning to --rpc-user and --rpc-passwd 2014-02-02 17:58:56 +09:00
Tatsuhiro Tsujikawa
7f6987a4b4 Implement new RPC authorization using --rpc-secret option 2014-02-02 17:34:07 +09:00
Alexander Amanuel
96a77e42d1 Minor DSCP-related improvements
- Improved usage annotation
- Shifted DSCP value to set not whole DS field, but only it's DSCP part
2014-01-29 20:17:22 +04:00
Tatsuhiro Tsujikawa
30e4077440 Add --enable-color option to enable/disable terminal color output 2014-01-30 00:15:05 +09:00
Alexander Amanuel
46a251e346 Refactored DSCP-related code a bit 2014-01-28 23:09:21 +04:00
Alexander Amanuel
924feb12b0 Added DSCP support 2014-01-28 00:13:15 +04:00
Ryo ONODERA
f2fa24b418 Avoid bash way, improve posix shell portability 2014-01-23 21:36:22 +09:00
Tatsuhiro Tsujikawa
542064c69b gnutls: Use SECURE128 priority keyword 2014-01-13 23:11:27 +09:00
Nils Maier
c2ab2f2208 Log an error when session fails to save.
Instead of a notice.
2014-01-08 15:58:27 +01:00
Tatsuhiro Tsujikawa
e81dd84641 gnutls: Don't fail handshake if returned error is not fatal 2014-01-08 23:11:56 +09:00
Tatsuhiro Tsujikawa
3c789294b7 gnutls: Handle GNUTLS_E_INTERRUPTED as well as GNUTLS_E_AGAIN 2014-01-08 23:01:36 +09:00
Tatsuhiro Tsujikawa
2f02946b70 Add workaround GnuTLS bug with OCSP status extension and non-blocking socket
GnuTLS version 3.1.3 - 3.1.18 and 3.2.0 - 3.2.8, inclusive, has this
bug. For these versions, we disable OCSP status extension.
2014-01-08 22:53:56 +09:00
Nils Maier
4dab854e08 GnuTLS: Refine debug logging 2014-01-06 17:46:21 +01:00
Nils Maier
3194174d4b Make GnuTLS log level dependent on the aria2 ones
Closes GH-180
2014-01-06 17:46:21 +01:00
Nils Maier
7777e1cb37 GnuTLS: Setup logging 2014-01-06 13:40:51 +01:00
Tatsuhiro Tsujikawa
2571bf4a36 Update copyright year to 2014 2014-01-05 20:54:52 +09:00
Tatsuhiro Tsujikawa
ab39ea4546 Update NEWS 2014-01-05 20:49:21 +09:00
Tatsuhiro Tsujikawa
dcf98d519f Fix crash if unpause failed before assigning BtProgressInfoFile object 2014-01-05 20:41:19 +09:00
Tatsuhiro Tsujikawa
b706722c59 Fix unitest crash 2014-01-05 19:16:49 +09:00
Tatsuhiro Tsujikawa
b98a5d62b4 Bump up version number to 1.18.3 2014-01-05 19:01:12 +09:00
Tatsuhiro Tsujikawa
a052dd9ad0 Update NEWS 2014-01-05 19:00:45 +09:00
Nils Maier
35ed2505fa makerelease-osx: Do not hardcode -Os into CXXFLAGS 2014-01-02 21:12:32 +01:00
Nils Maier
1ca0712455 Enable and check PIE in makerelease-osx
Position-independent Executables enable Address Space Layout
Randomization (ASLR) style security features, which makes it harder to
exploit certain security vulnerablities.

Closes GH-174
2014-01-02 21:12:32 +01:00
Tatsuhiro Tsujikawa
8216bdba79 Fix bug that numOpenFile_ is not reduced when MultiDiskAdaptor is deleted
This bug caused assertion error in RequestGroupMan::ensureMaxOpenFileLimit
2013-12-31 22:57:11 +09:00
Tatsuhiro Tsujikawa
3802c8dc2c Update README.android 2013-12-27 00:43:06 +09:00
Tatsuhiro Tsujikawa
6c44532b98 Update README.mingw 2013-12-27 00:42:23 +09:00
Tatsuhiro Tsujikawa
2d4f27cb2e Workaround: Use PKG_CONFIG_PATH instead of PKG_CONFIG_LIBDIR for mingw32
Not sure why PKG_CONFIG_LIBDIR does not work with mingw32 cross
compiler. Android toolchain works with it. As a workaround, we use
PKG_CONFIG_PATH for mingw32.
2013-12-27 00:22:40 +09:00
Tatsuhiro Tsujikawa
faddaf5415 Update NEWS for 1.18.2 release 2013-12-26 23:55:33 +09:00
Tatsuhiro Tsujikawa
1be26c0ec3 Bump up version number to 1.18.2 2013-12-26 23:41:38 +09:00
Nils Maier
a44c71586a Fix crash in HttpSkipResponseCommand ctor
(Regression from the memory holes stuff; missed to commit :p)
2013-12-24 23:14:26 +01:00
Tatsuhiro Tsujikawa
c881f9fcad Run DHT if torrent is private; but don't use DHT for that torrent 2013-12-20 21:39:30 +09:00
Nils Maier
44c63bf72b Add comment to makerelease about OSX builds 2013-12-19 18:55:06 +01:00