From e808825b430161fe52a861f2098a873d5866b5e5 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Fri, 19 Jul 2019 19:46:25 +0100 Subject: [PATCH] [Minor] Try to fix mess --- src/libutil/ssl_util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libutil/ssl_util.c b/src/libutil/ssl_util.c index 7d4612b3d..54322918c 100644 --- a/src/libutil/ssl_util.c +++ b/src/libutil/ssl_util.c @@ -668,7 +668,7 @@ rspamd_ssl_write (struct rspamd_ssl_connection *conn, gconstpointer buf, } else { ret = SSL_get_error (conn->ssl, ret); - conn->state = ssl_next_read; + conn->state = ssl_next_write; if (ret == SSL_ERROR_WANT_READ) { what = EV_READ; -- 2.39.5