[openssl/openssl] 72622c: Handle the case where the read buffer is empty but...
Matt Caswell
noreply at github.com
Sun Aug 20 11:31:08 UTC 2023
Branch: refs/heads/master
Home: https://github.com/openssl/openssl
Commit: 72622c0b9637667cfef3692e5a63b90d637f0c72
https://github.com/openssl/openssl/commit/72622c0b9637667cfef3692e5a63b90d637f0c72
Author: Matt Caswell <matt at openssl.org>
Date: 2023-08-20 (Sun, 20 Aug 2023)
Changed paths:
M ssl/quic/quic_impl.c
Log Message:
-----------
Handle the case where the read buffer is empty but we have received FIN
In some cases where a FIN has been received but with no data quic_read_actual
was failing to raise SSL_ERROR_ZERO_RETURN. This meant that we could end up
blocking in SSL_read(_ex) for too long.
Reviewed-by: Hugo Landau <hlandau at openssl.org>
Reviewed-by: Tomas Mraz <tomas at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/21780)
Commit: 0fa6612ed69411ddbfca9e7a2e28e263b7b6d346
https://github.com/openssl/openssl/commit/0fa6612ed69411ddbfca9e7a2e28e263b7b6d346
Author: Matt Caswell <matt at openssl.org>
Date: 2023-08-20 (Sun, 20 Aug 2023)
Changed paths:
M test/quicapitest.c
Log Message:
-----------
Test that a thread blocking in SSL_read_ex() will wake up on FIN
Reviewed-by: Hugo Landau <hlandau at openssl.org>
Reviewed-by: Tomas Mraz <tomas at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/21780)
Compare: https://github.com/openssl/openssl/compare/d561fe5a0aab...0fa6612ed694
More information about the openssl-commits
mailing list