diff options
author | Vladislav Vaintroub <wlad@mariadb.com> | 2016-04-20 19:03:59 +0200 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2016-04-20 19:03:59 +0200 |
commit | 2a45fa900b5916e9b789b1a4052ffd7c724f4166 (patch) | |
tree | 8bd5e804c2baca4463ff417c644314ee6cca6f3a /mysql-test/t/ssl_timeout-9836.opt | |
parent | 0c0a865fad6c59b141892bfcb5be2dc2c11ae1a7 (diff) | |
download | mariadb-git-2a45fa900b5916e9b789b1a4052ffd7c724f4166.tar.gz |
MDEV-9836 Connection lost when using SSL
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.
Diffstat (limited to 'mysql-test/t/ssl_timeout-9836.opt')
-rw-r--r-- | mysql-test/t/ssl_timeout-9836.opt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mysql-test/t/ssl_timeout-9836.opt b/mysql-test/t/ssl_timeout-9836.opt new file mode 100644 index 00000000000..7a2696875b8 --- /dev/null +++ b/mysql-test/t/ssl_timeout-9836.opt @@ -0,0 +1 @@ +--loose-thread-handling=pool-of-threads |