]> git.kaiwu.me - nginx.git/commit
Limit conn: added shared context.
authorRoman Arutyunyan <arut@nginx.com>
Mon, 18 Nov 2019 16:50:59 +0000 (19:50 +0300)
committerRoman Arutyunyan <arut@nginx.com>
Mon, 18 Nov 2019 16:50:59 +0000 (19:50 +0300)
commit5dc242e8f75eae718c1a941e663d7f483acf7c62
tree8e30ae0c803d4130622158417141334341a0974b
parent3a55d60d2d22788cd35cdd3f207d01d55984c1cf
Limit conn: added shared context.

Previously only an rbtree was associated with a limit_conn.  To make it
possible to associate more data with a limit_conn, shared context is introduced
similar to limit_req.  Also, shared pool pointer is kept in a way similar to
limit_req.
src/http/modules/ngx_http_limit_conn_module.c
src/stream/ngx_stream_limit_conn_module.c