Valentin Bartenev
ce26dd729e
Implemented basic statistics API.
2022-08-29 14:27:09 +08:00
Valentin Bartenev
2b53c7bbbd
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
connections altogether.
2020-08-05 14:55:34 +03:00
Igor Sysoev
ee62736a11
Fixed memory leak occurring upon failure to accept a connection.
2020-04-15 15:10:14 +03:00
Igor Sysoev
04143c8c7e
Fixed crash that occurs when idle connections are closed forcibly.
2020-04-15 14:54:09 +03:00
Igor Sysoev
ff6ca2a82c
Fixed keep-alive hanging after reconfiguration.
2018-05-30 18:46:05 +03:00
Valentin Bartenev
912a49c609
Reduced number of critical log levels.
2018-03-05 17:32:50 +03:00
Sergey Kandaurov
67c64a99fb
Using size_t for the field width type of the "%*s" specifier.
2018-01-24 15:16:32 +03:00
Igor Sysoev
67c066b026
Router: fixed segfault after configuration change.
2017-10-18 18:05:47 +03:00
Igor Sysoev
09ef66d39c
Storing memory cache slot hint inside nxt_sockaddr_t.
2017-10-17 16:22:38 +03:00
Igor Sysoev
9416a342b2
Fixed building by modern GCC.
2017-09-27 19:43:26 +03:00
Igor Sysoev
bfa808d689
Event engine memory cache for nxt_sockaddr_t.
...
Introducing event engine memory cache and using the cache for
nxt_sockaddr_t structures.
2017-09-27 19:22:59 +03:00
Igor Sysoev
4d5e39e8c1
Fixed textual socket name lengths and Unix domain sockaddr length.
2017-09-14 18:16:22 +03:00
Igor Sysoev
daaa216e2f
Using correct task for connection initialization.
2017-07-13 22:44:46 +03:00
Igor Sysoev
4fe5d22dcc
Router: processing JSON configuration.
2017-07-05 14:05:21 +03:00
Igor Sysoev
f888a5310c
Using new memory pool implementation.
2017-06-20 19:49:17 +03:00
Igor Sysoev
7574c64992
nxt_event_conn_... functions and structures have been renamed
...
to nxt_conn_...
2017-06-14 15:18:52 +03:00