diff options
author | Igor Sysoev <igor@sysoev.ru> | 2018-03-28 19:10:02 +0300 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2018-03-28 19:10:02 +0300 |
commit | 18377ad288cc247ab49bef61965eb4f124a52cf0 (patch) | |
tree | 3724cf4ff85260acdfe96c4946cb225a530af485 /src/nxt_h1proto.c | |
parent | cd340b09e677bb07c7952957893aac28d3491361 (diff) | |
download | unit-18377ad288cc247ab49bef61965eb4f124a52cf0.tar.gz unit-18377ad288cc247ab49bef61965eb4f124a52cf0.tar.bz2 |
nxt_port_buf_completion() and nxt_sendbuf_completion().
nxt_sendbuf_completion() has been renamed to nxt_port_buf_completion()
and moved to src/nxt_port_socket.c. nxt_sendbuf_completion0() has been
renamed to nxt_sendbuf_completion().
Diffstat (limited to 'src/nxt_h1proto.c')
-rw-r--r-- | src/nxt_h1proto.c | 4 |
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); } |