]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Sigh, another libevent stupidity
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Tue, 5 Mar 2019 16:36:36 +0000 (16:36 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Tue, 5 Mar 2019 16:36:36 +0000 (16:36 +0000)
src/libutil/http_context.c

index a17b86af36da9364a3adacecac6d3fe0002b26a7..9182285a31f9d971daaae7a19aca9598b31dc7ef 100644 (file)
@@ -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;