diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-11-05 12:08:17 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-11-05 12:08:17 +0000 |
commit | a2af525bbd71f141eafadb78fa8ac8e76788bee6 (patch) | |
tree | 47bf9fcea2582cad3dcfd05c53d260c941b34ece /src/libutil/http_connection.h | |
parent | 1ee4b159437edc1d991860008371f587c3283cda (diff) | |
download | rspamd-a2af525bbd71f141eafadb78fa8ac8e76788bee6.tar.gz rspamd-a2af525bbd71f141eafadb78fa8ac8e76788bee6.zip |
[Fix] Check results of write message as SSL can bork them
Diffstat (limited to 'src/libutil/http_connection.h')
-rw-r--r-- | src/libutil/http_connection.h | 4 |
1 files changed, 2 insertions, 2 deletions
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, |