summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_h1proto.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nxt_h1proto.c')
-rw-r--r--src/nxt_h1proto.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nxt_h1proto.c b/src/nxt_h1proto.c
index e8d8e472..a216dafb 100644
--- a/src/nxt_h1proto.c
+++ b/src/nxt_h1proto.c
@@ -845,8 +845,8 @@ nxt_h1p_sent(nxt_task_t *task, void *obj, void *data)
engine = task->thread->engine;
- c->write = nxt_sendbuf_completion0(task, &engine->fast_work_queue,
- c->write);
+ c->write = nxt_sendbuf_completion(task, &engine->fast_work_queue, c->write);
+
if (c->write != NULL) {
nxt_conn_write(engine, c);
}