summaryrefslogtreecommitdiffhomepage
path: root/src/stream/ngx_stream_limit_conn_module.c (follow)
AgeCommit message (Collapse)AuthorFilesLines
2019-11-18Limit conn: added shared context.Roman Arutyunyan1-46/+43
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.
2019-11-18Limit conn: $limit_conn_status variable.Roman Arutyunyan1-1/+73
The variable takes one of the values: PASSED, REJECTED or REJECTED_DRY_RUN.
2019-11-19Limit conn: limit_conn_dry_run directive.Roman Arutyunyan1-1/+23
A new directive limit_conn_dry_run allows enabling the dry run mode. In this mode connections are not rejected, but reject status is logged as usual.
2016-09-15Stream: phases.Roman Arutyunyan1-3/+9
2016-07-12Stream: style.Vladimir Homutov1-1/+1
2016-06-29Stream: got rid of pseudo variables.Vladimir Homutov1-56/+63
Stream limit_conn, upstream_hash and proxy modules now use complex values.
2016-06-15Stream: added preconfiguration step.Vladimir Homutov1-0/+1
2016-06-27Style.Roman Arutyunyan1-10/+10
2016-03-31Fixed logging.Sergey Kandaurov1-2/+2
2015-06-18Stream: connection limiting module.Vladimir Homutov1-0/+632
stream { limit_conn_zone $binary_remote_addr zone=perip:1m; limit_conn_log_level error; server { ... limit_conn perip 1; } }