summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2014-01-10 00:14:26 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2014-01-10 00:14:26 +0000
commit80bc4f9983bc4c763a7fff935e833aa886b7a871 (patch)
tree6b728708549a197bbebbe1acf24551950e3a5fb0 /src
parent85aefc4a49b384a548036fcf3d4758100e97e6d1 (diff)
downloadrspamd-80bc4f9983bc4c763a7fff935e833aa886b7a871.tar.gz
rspamd-80bc4f9983bc4c763a7fff935e833aa886b7a871.zip
Forgot about event adding.
Diffstat (limited to 'src')
-rw-r--r--src/http.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/http.c b/src/http.c
index a5f32a4db..721a74b13 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