Searched hist:1533 (Results 1 – 1 of 1) sorted by relevance
|H A D||nxt_conn_accept.c|
diff 1533:6e107ec3b502 Wed Aug 05 11:55:00 UTC 2020 Valentin Bartenev <firstname.lastname@example.org> Fixed nxt_conn_accept_alloc() behavior in low memory conditions.
Earlier, if nxt_mp_create() failed to allocate memory while accepting a new
connection, the resulting NULL was subsequently passed to nxt_mp_destroy(),
crashing the process.
More, if nxt_mp_create() was successful but nxt_sockaddr_cache_alloc() failed,
the connection object wasn't destroyed properly, leaving the connection counter
in an inconsistent state. Repeated, this condition lowered the connection
capacity of the process and could eventually prevent it from accepting