This commit is contained in:
Andrey Zelenkov
2019-03-11 17:31:59 +03:00
parent dccb4cf354
commit 22de5fcddf
20 changed files with 48 additions and 48 deletions

View File

@@ -1059,7 +1059,7 @@ nxt_epoll_edge_conn_io_connect(nxt_task_t *task, void *obj, void *data)
state = c->write_state; state = c->write_state;
switch (nxt_socket_connect(task, c->socket.fd, c->remote) ){ switch (nxt_socket_connect(task, c->socket.fd, c->remote)) {
case NXT_OK: case NXT_OK:
c->socket.write_ready = 1; c->socket.write_ready = 1;

View File

@@ -119,7 +119,7 @@ nxt_http_parse_request_init(nxt_http_request_parse_t *rp, nxt_mp_t *mp)
rp->mem_pool = mp; rp->mem_pool = mp;
rp->fields = nxt_list_create(mp, 8, sizeof(nxt_http_field_t)); rp->fields = nxt_list_create(mp, 8, sizeof(nxt_http_field_t));
if (nxt_slow_path(rp->fields == NULL)){ if (nxt_slow_path(rp->fields == NULL)) {
return NXT_ERROR; return NXT_ERROR;
} }

View File

@@ -856,7 +856,7 @@ nxt_kqueue_conn_io_connect(nxt_task_t *task, void *obj, void *data)
state = c->write_state; state = c->write_state;
switch (nxt_socket_connect(task, c->socket.fd, c->remote) ){ switch (nxt_socket_connect(task, c->socket.fd, c->remote)) {
case NXT_OK: case NXT_OK:
c->socket.write_ready = 1; c->socket.write_ready = 1;