Displaying 2 results from an estimated 2 matches for "openssl_iostream_clear_errors".
2018 Mar 20
1
Strange "IMAP connection broken (server response)" errors
..._iostream *ssl_io)
static void openssl_iostream_destroy(struct ssl_iostream *ssl_io)
{
- if (SSL_shutdown(ssl_io->ssl) != 1) {
+ if (!SSL_in_init(ssl_io->ssl) && SSL_shutdown(ssl_io->ssl) != 1) {
/* if bidirectional shutdown fails we need to clear
the error queue */
openssl_iostream_clear_errors();
diff --git a/src/login-common/ssl-proxy-openssl.c b/src/login-common/ssl-proxy-openssl.c
index 947c8ef..3ac6823 100644
--- a/src/login-common/ssl-proxy-openssl.c
+++ b/src/login-common/ssl-proxy-openssl.c
@@ -833,7 +833,7 @@ void ssl_proxy_destroy(struct ssl_proxy *proxy)
if (proxy->io_plai...
2017 Oct 06
2
Strange "IMAP connection broken (server response)" errors
Hello,
We upgraded one of our dovecot servers to debian stretch with dovecot
2.2.27 and since then one of our users has been experiencing random IMAP
failures.
We enabled raw logging at the server side and it shows normal IMAP
commands/responses:
1507292522.222427 * 6 FETCH (FLAGS () BODYSTRUCTURE ("text" "plain"
("charset" "us-ascii")
NIL NIL