h2load: Fix wrong kbytes/s value
This commit is contained in:
parent
cbc02bbc4c
commit
dcdbd5ab20
|
@ -470,7 +470,7 @@ int Client::on_read(const uint8_t *data, size_t len) {
|
||||||
if (rv != 0) {
|
if (rv != 0) {
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
worker->stats.bytes_total += rv;
|
worker->stats.bytes_total += len;
|
||||||
signal_write();
|
signal_write();
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue