commit f039ea6: [Minor] Sigh, another libevent stupidity

Vsevolod Stakhov vsevolod at highsecure.ru
Tue Mar 5 16:42:10 UTC 2019


Author: Vsevolod Stakhov
Date: 2019-03-05 16:36:36 +0000
URL: https://github.com/rspamd/rspamd/commit/f039ea6f861c29a986d0d6aa7cd863533972d2cf (HEAD -> master)

[Minor] Sigh, another libevent stupidity

---
 src/libutil/http_context.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/libutil/http_context.c b/src/libutil/http_context.c
index a17b86af3..9182285a3 100644
--- a/src/libutil/http_context.c
+++ b/src/libutil/http_context.c
@@ -51,7 +51,8 @@ rspamd_http_keepalive_queue_cleanup (GQueue *conns)
 
 		cbd = (struct rspamd_http_keepalive_cbdata *)cur->data;
 		rspamd_http_connection_unref (cbd->conn);
-		event_del (&cbd->ev);
+		/* Event is deleted here by deletion of the ev_base */
+		/* event_del (&cbd->ev); */
 		g_free (cbd);
 
 		cur = cur->next;


More information about the Commits mailing list