mirror of https://github.com/aria2/aria2
Initialize DownloadEngine::tokenAverageDuration_ to something.
parent
f8db60e54e
commit
fd8dc921fe
|
@ -112,7 +112,8 @@ DownloadEngine::DownloadEngine(std::unique_ptr<EventPoll> eventPoll)
|
||||||
#endif // HAVE_ARES_ADDR_NODE
|
#endif // HAVE_ARES_ADDR_NODE
|
||||||
dnsCache_(make_unique<DNSCache>()),
|
dnsCache_(make_unique<DNSCache>()),
|
||||||
option_(nullptr),
|
option_(nullptr),
|
||||||
tokenIterations_(5000)
|
tokenIterations_(5000),
|
||||||
|
tokenAverageDuration_(0.0)
|
||||||
{
|
{
|
||||||
unsigned char sessionId[20];
|
unsigned char sessionId[20];
|
||||||
util::generateRandomKey(sessionId);
|
util::generateRandomKey(sessionId);
|
||||||
|
|
Loading…
Reference in New Issue