In BIO_write(), update the write statistics, not the read statistics.
PR: 1803
This commit is contained in:
parent
974d05a323
commit
44390fadc0
@ -919,6 +919,6 @@ int BIO_nwrite(BIO *bio, char **buf, int num)
|
||||
|
||||
ret = BIO_ctrl(bio, BIO_C_NWRITE, num, buf);
|
||||
if (ret > 0)
|
||||
bio->num_read += ret;
|
||||
bio->num_write += ret;
|
||||
return ret;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user