mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
components/openssl: fixes for github issues 219
"SSL_write" doesn't send large buffers correctly
This commit is contained in:
parent
905180667c
commit
1d0c909daf
@ -463,7 +463,7 @@ int SSL_write(SSL *ssl, const void *buffer, int len)
|
||||
else
|
||||
bytes = send_bytes;
|
||||
|
||||
ret = SSL_METHOD_CALL(send, ssl, buffer, bytes);
|
||||
ret = SSL_METHOD_CALL(send, ssl, pbuf, bytes);
|
||||
if (ret > 0) {
|
||||
pbuf += ret;
|
||||
send_bytes -= ret;
|
||||
|
Loading…
x
Reference in New Issue
Block a user