From: Vsevolod Stakhov Date: Fri, 10 Jan 2014 00:14:26 +0000 (+0000) Subject: Forgot about event adding. X-Git-Tag: 0.6.7~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=80bc4f9983bc4c763a7fff935e833aa886b7a871;p=thirdparty%2Frspamd.git Forgot about event adding. --- diff --git a/src/http.c b/src/http.c index a5f32a4db4..721a74b137 100644 --- a/src/http.c +++ b/src/http.c @@ -526,6 +526,10 @@ rspamd_http_write_helper (struct rspamd_http_connection *conn) if (priv->wr_pos >= priv->wr_total) { conn->finish_handler (conn, priv->msg); } + else { + /* Want to write more */ + event_add (&priv->ev, priv->ptv); + } } static void