h2load: Fix wrong kbytes/s value

This commit is contained in:
Tatsuhiro Tsujikawa 2015-01-06 01:24:03 +09:00
parent cbc02bbc4c
commit dcdbd5ab20
1 changed files with 1 additions and 1 deletions

View File

@ -470,7 +470,7 @@ int Client::on_read(const uint8_t *data, size_t len) {
if (rv != 0) {
return -1;
}
worker->stats.bytes_total += rv;
worker->stats.bytes_total += len;
signal_write();
return 0;
}