Merge pull request #1487 from aria2/reset-download-upload-length

Reset sessionDownloadLength and sessionUploadLength on download start
pull/1489/head
Tatsuhiro Tsujikawa 2019-10-12 11:46:35 +09:00 committed by GitHub
commit 9d0a48ac81
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -110,6 +110,8 @@ void NetStat::reset()
uploadSpeed_.reset();
downloadStartTime_ = global::wallclock();
status_ = IDLE;
sessionDownloadLength_ = 0;
sessionUploadLength_ = 0;
}
void NetStat::downloadStart()