mirror of
https://github.com/openssl/openssl.git
synced 2024-12-21 06:09:35 +08:00
c3114a7732
In certain circumstances in the DTLS code we have to drop a record (e.g. if
it is a stale retransmit). We then have to move on to try and read the next
record. Some applications using blocking sockets (e.g. s_server/s_client
will hang if there isn't actually any data to be read from the socket yet).
Others can tolerate this. Therefore SSL_read()/SSL_write() can sometimes
return SSL_ERROR_WANT_READ/SSL_ERROR_WANT_WRITE even when using blocking
sockets. Applications can use the mode SSL_MODE_AUTO_RETRY, to switch this
behaviour off so that we never return unless we have read the data we
wanted to.
Commit
|
||
---|---|---|
.. | ||
include/openssl | ||
async_bio.cc | ||
async_bio.h | ||
build.info | ||
ossl_config.json | ||
ossl_shim.cc | ||
packeted_bio.cc | ||
packeted_bio.h | ||
test_config.cc | ||
test_config.h |