From a2af525bbd71f141eafadb78fa8ac8e76788bee6 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Tue, 5 Nov 2019 12:08:17 +0000 Subject: [Fix] Check results of write message as SSL can bork them --- src/libutil/http_connection.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/libutil/http_connection.h') diff --git a/src/libutil/http_connection.h b/src/libutil/http_connection.h index b90d0125a..7c901fd2a 100644 --- a/src/libutil/http_connection.h +++ b/src/libutil/http_connection.h @@ -240,7 +240,7 @@ void rspamd_http_connection_read_message_shared ( * @param ud opaque user data * @param fd fd to read/write */ -void rspamd_http_connection_write_message ( +gboolean rspamd_http_connection_write_message ( struct rspamd_http_connection *conn, struct rspamd_http_message *msg, const gchar *host, @@ -248,7 +248,7 @@ void rspamd_http_connection_write_message ( gpointer ud, ev_tstamp timeout); -void rspamd_http_connection_write_message_shared ( +gboolean rspamd_http_connection_write_message_shared ( struct rspamd_http_connection *conn, struct rspamd_http_message *msg, const gchar *host, -- cgit v1.2.3