mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 20:12:31 +01:00
2a45fa900b
Don't read from socket in yassl in SSL_pending(). Just return size of the buffered processed data. This is what OpenSSL is documented to do too: SSL_pending() returns the number of bytes which have been processed, buffered and are available inside ssl for immediate read.
11 lines
304 B
Text
11 lines
304 B
Text
#
|
|
# MDEV-9836 Connection lost when using SSL
|
|
#
|
|
-- source include/have_ssl_communication.inc
|
|
connect(con1,localhost,root,,,,,SSL);
|
|
SET @@net_read_timeout=1;
|
|
SELECT 1;
|
|
# MDEV-9836 - YASSL bug - SSL connection lost if it has been idle, for longer than net_read_timeout
|
|
-- sleep 2
|
|
SELECT 1;
|
|
disconnect con1;
|