Commit Graph

3750 Commits (b3acf4d393f21af822bb59cdb191760b92b540ad)

Author SHA1 Message Date
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
Tatsuhiro Tsujikawa ae2e4cb7ff Handle OptionHandlers as raw pointer 2012-09-27 22:45:31 +09:00
Tatsuhiro Tsujikawa 8fc5cdea02 Removed unused functions 2012-09-27 01:03:39 +09:00
Tatsuhiro Tsujikawa 89f18dde85 Use nothrow version of parseInt, parseUInt and parseLLInt 2012-09-27 00:45:32 +09:00
Tatsuhiro Tsujikawa a879d75aaa Don't use parseInt in cookie_helper 2012-09-27 00:16:22 +09:00
Tatsuhiro Tsujikawa f75402739b Rewritten ServerStatMan::load() using nothrow version of parseInt 2012-09-27 00:07:15 +09:00
Tatsuhiro Tsujikawa 8f2030da09 Removed HttpHeader::findAs{LL}Int and unused HttpResponse::{has,get}RetryAfter 2012-09-26 23:58:59 +09:00
Tatsuhiro Tsujikawa b9f972665b Rewritten LpdMessageReceiver::receiveMessage() 2012-09-26 23:45:58 +09:00
Tatsuhiro Tsujikawa 3a917ff695 Rewritten FtpConnection::receiveMdtmResponse without util::parseInt 2012-09-26 23:14:49 +09:00
Tatsuhiro Tsujikawa 10a68061f7 Code cleanup 2012-09-26 23:03:25 +09:00
Tatsuhiro Tsujikawa a20e279606 Use std::string for SocketPoolEntry::options_
Currently, we only store 1 value for FTP download. std::map is
overkill in the this situation.
2012-09-26 23:00:05 +09:00
Tatsuhiro Tsujikawa c13dc166de Rewritten ExtensionMessageRegistry 2012-09-26 22:02:48 +09:00
Tatsuhiro Tsujikawa f0000a8754 Made ExtensionMessage's NAME const char[] 2012-09-26 00:01:41 +09:00
Tatsuhiro Tsujikawa c522d79d89 Code cleanup 2012-09-25 23:48:35 +09:00
Tatsuhiro Tsujikawa f133091a9e Made BufferedFile ctor take const char* args 2012-09-25 23:44:41 +09:00
Tatsuhiro Tsujikawa c63af24c63 Made BtMessage's NAME const char[] 2012-09-25 23:28:24 +09:00
Tatsuhiro Tsujikawa 9a510ddac0 Made MetalinkMetaurl::MEDIATYPE_TORRENT const char[] 2012-09-25 23:07:23 +09:00
Tatsuhiro Tsujikawa 8788cae7e3 Removed MetalinkResource static strings 2012-09-25 23:03:19 +09:00
Tatsuhiro Tsujikawa be77d1394e Removed Request::PROTO_* 2012-09-25 22:41:03 +09:00
Tatsuhiro Tsujikawa c186e93488 Code cleanup 2012-09-25 22:02:58 +09:00
Tatsuhiro Tsujikawa c16cebbc9a Code cleanup 2012-09-25 22:00:56 +09:00
Tatsuhiro Tsujikawa 41cb774374 Made getMethodName() of RpcMethod subclass return const char* 2012-09-25 21:57:08 +09:00
Tatsuhiro Tsujikawa 260a0b8bcb Rewritten AnnounceList::getEventString() 2012-09-25 00:07:14 +09:00