diff options
author | dkatz@damien-katzs-computer.local <> | 2007-07-12 22:06:33 -0400 |
---|---|---|
committer | dkatz@damien-katzs-computer.local <> | 2007-07-12 22:06:33 -0400 |
commit | 899aaa6bb2a684b366ec462c8e7160897fde4299 (patch) | |
tree | d6585a05edfef5208ae906f073d0280bb05f4679 /extra/yassl/include/openssl | |
parent | b36295dd177fea39a9d5cbad69c3b8b61d30e946 (diff) | |
download | mariadb-git-899aaa6bb2a684b366ec462c8e7160897fde4299.tar.gz |
Bug #29579 Clients using SSL can hang the server
Added an option to yassl to allow "quiet shutdown" like openssl does. This option causes the SSL libs to NOT perform the close_notify handshake during shutdown. This fixes a hang we experience because we hold a lock during socket shutdown.
Diffstat (limited to 'extra/yassl/include/openssl')
-rw-r--r-- | extra/yassl/include/openssl/ssl.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/extra/yassl/include/openssl/ssl.h b/extra/yassl/include/openssl/ssl.h index 7dd33e3fcad..efd0dec75b6 100644 --- a/extra/yassl/include/openssl/ssl.h +++ b/extra/yassl/include/openssl/ssl.h @@ -277,6 +277,8 @@ int SSL_session_reused(SSL*); int SSL_set_rfd(SSL*, int); int SSL_set_wfd(SSL*, int); void SSL_set_shutdown(SSL*, int); +void SSL_set_quiet_shutdown(SSL *ssl,int mode); +int SSL_get_quiet_shutdown(SSL *ssl); int SSL_want_read(SSL*); int SSL_want_write(SSL*); |