aboutsummaryrefslogtreecommitdiffstats
path: root/src/libutil
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2014-04-23 16:37:51 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2014-04-23 16:37:51 +0100
commit7126e571034a702eca00159f10b4753e7b10af2d (patch)
treec4e63e85b1b17050f35034abb1e6d921fff1e54a /src/libutil
parentcf646b79b7a11003d049af68d18d1dbd88bce8fb (diff)
downloadrspamd-7126e571034a702eca00159f10b4753e7b10af2d.tar.gz
rspamd-7126e571034a702eca00159f10b4753e7b10af2d.zip
Fix events in http one more time.
Diffstat (limited to 'src/libutil')
-rw-r--r--src/libutil/http.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/libutil/http.c b/src/libutil/http.c
index 1b635b44f..26dc67900 100644
--- a/src/libutil/http.c
+++ b/src/libutil/http.c
@@ -877,7 +877,6 @@ rspamd_http_connection_write_message (struct rspamd_http_connection *conn,
priv->out[i++].iov_len = bodylen;
}
- event_del (&priv->ev);
event_set (&priv->ev, fd, EV_WRITE, rspamd_http_event_handler, conn);
event_base_set (base, &priv->ev);
event_add (&priv->ev, priv->ptv);