| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
The variable takes one of the values: PASSED, REJECTED or REJECTED_DRY_RUN.
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
| |
Stream limit_conn, upstream_hash and proxy modules now use complex values.
|
| |
|
| |
|
| |
|
|
stream {
limit_conn_zone $binary_remote_addr zone=perip:1m;
limit_conn_log_level error;
server {
...
limit_conn perip 1;
}
}
|