nxt_port_create() use task instead of thread.

Write socket close() call moved out from nxt_port_create().
This commit is contained in:
Max Romanov
2017-06-23 19:19:41 +03:00
parent 89ab9a9d05
commit e5fe254e1e
3 changed files with 6 additions and 6 deletions

View File

@@ -110,7 +110,7 @@ nxt_int_t nxt_port_socket_write(nxt_task_t *task, nxt_port_t *port,
nxt_uint_t type, nxt_fd_t fd, uint32_t stream, nxt_port_id_t reply_port,
nxt_buf_t *b);
void nxt_port_create(nxt_thread_t *thread, nxt_port_t *port,
void nxt_port_create(nxt_task_t *task, nxt_port_t *port,
nxt_port_handler_t *handlers);
void nxt_port_write(nxt_task_t *task, nxt_runtime_t *rt, nxt_uint_t type,
nxt_fd_t fd, uint32_t stream, nxt_buf_t *b);