Introducing tasks.
This commit is contained in:
@@ -46,7 +46,7 @@ nxt_macosx_event_conn_io_sendfile(nxt_event_conn_t *c, nxt_buf_t *b,
|
||||
sb.size = 0;
|
||||
sb.limit = limit;
|
||||
|
||||
nhd = nxt_sendbuf_mem_coalesce(&sb);
|
||||
nhd = nxt_sendbuf_mem_coalesce(c->socket.task, &sb);
|
||||
|
||||
if (nhd == 0 && sb.sync) {
|
||||
return 0;
|
||||
@@ -67,7 +67,7 @@ nxt_macosx_event_conn_io_sendfile(nxt_event_conn_t *c, nxt_buf_t *b,
|
||||
|
||||
sb.iobuf = tr;
|
||||
|
||||
ntr = nxt_sendbuf_mem_coalesce(&sb);
|
||||
ntr = nxt_sendbuf_mem_coalesce(c->socket.task, &sb);
|
||||
|
||||
/*
|
||||
* Disposal of surplus kernel operations if there are no headers
|
||||
|
||||
Reference in New Issue
Block a user