summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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