mirror of https://github.com/aria2/aria2
Merge pull request #1487 from aria2/reset-download-upload-length
Reset sessionDownloadLength and sessionUploadLength on download startpull/1489/head
commit
9d0a48ac81
|
@ -110,6 +110,8 @@ void NetStat::reset()
|
||||||
uploadSpeed_.reset();
|
uploadSpeed_.reset();
|
||||||
downloadStartTime_ = global::wallclock();
|
downloadStartTime_ = global::wallclock();
|
||||||
status_ = IDLE;
|
status_ = IDLE;
|
||||||
|
sessionDownloadLength_ = 0;
|
||||||
|
sessionUploadLength_ = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
void NetStat::downloadStart()
|
void NetStat::downloadStart()
|
||||||
|
|
Loading…
Reference in New Issue