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
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