components/openssl: fixes for github issues 219
"SSL_write" doesn't send large buffers correctly
This commit is contained in:
parent
905180667c
commit
1d0c909daf
1 changed files with 1 additions and 1 deletions
|
@ -463,7 +463,7 @@ int SSL_write(SSL *ssl, const void *buffer, int len)
|
||||||
else
|
else
|
||||||
bytes = send_bytes;
|
bytes = send_bytes;
|
||||||
|
|
||||||
ret = SSL_METHOD_CALL(send, ssl, buffer, bytes);
|
ret = SSL_METHOD_CALL(send, ssl, pbuf, bytes);
|
||||||
if (ret > 0) {
|
if (ret > 0) {
|
||||||
pbuf += ret;
|
pbuf += ret;
|
||||||
send_bytes -= ret;
|
send_bytes -= ret;
|
||||||
|
|
Loading…
Reference in a new issue