We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5628497 commit 31c55efCopy full SHA for 31c55ef
src/tls/BearSSLClient.cpp
@@ -94,7 +94,7 @@ size_t BearSSLClient::write(const uint8_t *buf, size_t size)
94
size_t written = 0;
95
96
while (written < size) {
97
- int result = br_sslio_write(&_ioc, buf, size);
+ int result = br_sslio_write(&_ioc, buf, size - written);
98
99
if (result < 0) {
100
break;
0 commit comments