]> git.ipfire.org Git - thirdparty/rspamd.git/commitdiff
Forgot about event adding.
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Fri, 10 Jan 2014 00:14:26 +0000 (00:14 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Fri, 10 Jan 2014 00:14:26 +0000 (00:14 +0000)
src/http.c

index a5f32a4db44af8b98aee3d7a920bff5cc078bf70..721a74b137a664cb43afadd83e1a12aa8fd8a61d 100644 (file)
@@ -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