Commit Graph

3672 Commits (8c3e08f15a64bbb4f928152f635034f2c727f0b2)

Author SHA1 Message Date
Tatsuhiro Tsujikawa 08cd68ec95 Removed Socket.h from SRCS 2012-10-31 19:07:08 +09:00
ITriskTI cb5984ce52 Update doc/manual-src/ru/aria2c.rst 2012-10-31 12:47:11 +03:00
Tatsuhiro Tsujikawa bf342a2827 Fixed compile error with mingw 2012-10-31 17:10:49 +09:00
Tatsuhiro Tsujikawa f4f6ecda37 Bump up version number to 1.16.0 2012-10-31 16:47:26 +09:00
Tatsuhiro Tsujikawa d4e7b51eb9 Made --http-no-cache false by default 2012-10-31 16:44:28 +09:00
Tatsuhiro Tsujikawa eacbd50e75 Added makerelease script
makerelease script creates distribution packages including source tar
ball, mingw 32 and 64 bit and android binary packages.
2012-10-31 16:39:06 +09:00
Tatsuhiro Tsujikawa 4d6c1a8748 Added .gitignore in doc/manual-src 2012-10-31 16:36:45 +09:00
Tatsuhiro Tsujikawa 49e9f66c16 Use len formal parameter of util::parse_content_disposition 2012-10-31 01:24:10 +09:00
Tatsuhiro Tsujikawa 5dfd1a5af7 Fixed memory leak 2012-10-29 23:43:35 +09:00
Tatsuhiro Tsujikawa 00e3151110 Initialized member 2012-10-29 23:42:58 +09:00
Tatsuhiro Tsujikawa f60b956a48 Removed always-true condition 2012-10-29 23:42:58 +09:00
Tatsuhiro Tsujikawa 39da18f156 Removed dead code 2012-10-29 23:42:58 +09:00
Tatsuhiro Tsujikawa 2676bbe9c6 Initialized scalar members 2012-10-29 23:42:58 +09:00
Tatsuhiro Tsujikawa feb548e174 Removed unused members 2012-10-29 23:42:58 +09:00
Tatsuhiro Tsujikawa 6fddbc845c Removed dead code 2012-10-29 23:42:58 +09:00
Tatsuhiro Tsujikawa f42199b46d Fixed resource leak 2012-10-29 23:42:58 +09:00
Tatsuhiro Tsujikawa 8566d050ff Reset stream format state 2012-10-29 22:39:09 +09:00
Tatsuhiro Tsujikawa d6f73292fa gnutls: Added more status checking when verifying peer 2012-10-27 17:46:53 +09:00
Tatsuhiro Tsujikawa d689ad3bd0 Added RFC 6266 in References section 2012-10-27 17:00:13 +09:00
Tatsuhiro Tsujikawa 118aed9c24 Content-Disposition parser conforming to RFC 6266.
RFC 2231 Continuation is not supported.
2012-10-27 14:51:07 +09:00
Tatsuhiro Tsujikawa 21c3903af0 Simplified TransferStat struct 2012-10-26 00:16:20 +09:00
Tatsuhiro Tsujikawa 0ecfa19925 Reworked download/upload statistics calculation
The old implementation calculates download/upload statistics for a
RequestGroup by summing up all PeerStat objects. For global
statistics, those are summed together. This clearly incurs runtime
penalty and we introduced some kind of caching which updates
statistics every 250ms but it did not work right.

This change removes all these aggregation code, and instead makes
RequestGroup and RequestGroupMan objects hold NetStat object and
download/upload bytes are directly calculated by thier own NetStat.
This is far more simplar than the old way and less runtime penalty and
brings more accuracy.
2012-10-25 23:33:45 +09:00
Tatsuhiro Tsujikawa 46bdaf0e8d Made HTTP/FTP download speed limiter more accurate
We have to do the same thing for BitTorrent.
2012-10-24 01:05:41 +09:00
Tatsuhiro Tsujikawa ea456001d3 Updated po templates 2012-10-17 21:33:51 +09:00
ITriskTI bc33433e58 Update and fixed some bugs 2012-10-17 10:40:11 +03:00
Tatsuhiro Tsujikawa b48d9082db Documented --rpc-save-upload-metadata option in manpage 2012-10-16 22:55:35 +09:00
Tatsuhiro Tsujikawa da8086cbc9 Updated doc 2012-10-16 22:55:14 +09:00
Tatsuhiro Tsujikawa a9c76ed35e Added --rpc-save-upload-metadata option
If true is given, which is default, save the uploaded torrent or
metalink metadata in the directory specified by --dir option. The
filename consists of SHA1-hash hex string of metadata plus
extension. For torrent, the extension is '.torrent'. For metalink, it
is '.meta4'.  If false is given to this option, the downloads added by
aria2.addTorrent or aria2.addMetalink will not be saved by
--save-session option.
2012-10-16 00:18:34 +09:00
Tatsuhiro Tsujikawa 4a4fec2c8c Removed socket readability check from checkIfConnectionEstablished() 2012-10-15 23:27:51 +09:00
Tatsuhiro Tsujikawa 841395f332 Perform SSL/TLS handshake after checking whether connection is established 2012-10-15 23:26:51 +09:00
Tatsuhiro Tsujikawa c904aa50fe Use uri_split instead of uri::parse where appropriate 2012-10-14 18:05:34 +09:00
Tatsuhiro Tsujikawa eebc704b19 Updated .gitignore 2012-10-14 00:15:49 +09:00
Tatsuhiro Tsujikawa 692f978978 Rewritten URI parser 2012-10-14 00:14:50 +09:00
Tatsuhiro Tsujikawa 5367c34de3 Fixed bug that mmap won't work if MultiDiskAdaptor is used 2012-10-08 19:13:01 +09:00
Tatsuhiro Tsujikawa 71620854c7 Moved bool members to the last to reduce structure size 2012-10-07 22:14:06 +09:00
Tatsuhiro Tsujikawa 8b0c701266 Removed trailing spaces 2012-10-01 23:52:22 +09:00
Tatsuhiro Tsujikawa 390b2e546e Updated po templates 2012-10-01 23:45:40 +09:00
Tatsuhiro Tsujikawa bc3c553b3c Updated doc 2012-09-30 19:08:40 +09:00
Tatsuhiro Tsujikawa 7c878d3c81 Moved implementation of SharedCount and WeakCount to cc file 2012-09-30 18:14:59 +09:00
Tatsuhiro Tsujikawa e34d0e7ffa Dont' return SharedHandle from HttpHeader::getRange() 2012-09-30 17:30:35 +09:00
Tatsuhiro Tsujikawa 492d6d1eeb Added RPC encryption command-line example 2012-09-30 17:07:54 +09:00
Tatsuhiro Tsujikawa 71cc44bedd Documented --rpc-private-key, --rpc-certificate and --rpc-secure in manpage 2012-09-30 17:04:14 +09:00
Tatsuhiro Tsujikawa 90515dfa50 RPC over SSL/TLS transport
To enable RPC over SSL/TLS, specify server certificate and private key
using --rpc-certificate and --rpc-private-key options and enable
--rpc-secure option.  After the encryption is enabled, use https and
wss scheme to access RPC server.
2012-09-30 00:50:14 +09:00
Tatsuhiro Tsujikawa 4b94ede268 Return ExtensionMessage subclass create return raw pointer 2012-09-28 23:40:44 +09:00
Tatsuhiro Tsujikawa 3258614033 Removed *Handle typedef 2012-09-28 23:27:46 +09:00
Tatsuhiro Tsujikawa 1c57a3ff9f Code cleanup 2012-09-28 22:00:46 +09:00
Tatsuhiro Tsujikawa 1fdc6e0a33 Code cleanup 2012-09-28 00:26:34 +09:00
Tatsuhiro Tsujikawa c6b76f1d32 Don't instantiate SharedHandle for DHT{Query, Response}Message subclass 2012-09-28 00:13:08 +09:00
Tatsuhiro Tsujikawa 5323afa5b2 Removed instantiation of unused BtMessageValidator 2012-09-27 23:46:34 +09:00
Tatsuhiro Tsujikawa 215d1d3d0b Made static create function of BtMessage subclass return raw pointer 2012-09-27 23:40:25 +09:00