Fixed use-after-free error during reconfiguration.
An idle connection was not removed from idle connection list if the connections detected that listening socket had been closed.
This commit is contained in:
@@ -1829,6 +1829,8 @@ nxt_h1p_idle_close(nxt_task_t *task, void *obj, void *data)
|
|||||||
|
|
||||||
nxt_debug(task, "h1p idle close");
|
nxt_debug(task, "h1p idle close");
|
||||||
|
|
||||||
|
nxt_queue_remove(&c->link);
|
||||||
|
|
||||||
nxt_h1p_idle_response(task, c);
|
nxt_h1p_idle_response(task, c);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user