Valentin Bartenev
1866f15d7d
Limit conn: removed deprecated "limit_zone" directive.
...
It's deprecated since 260d591cb6a3 (1.1.8). The "limit_conn_zone" directive
should be used instead.
2014-09-24 21:55:19 +04:00
Maxim Dounin
d7db87e6d9
The limit_req_status and limit_conn_status directives.
...
Patch by Nick Marden, with minor changes.
2013-03-18 14:50:29 +00:00
Ruslan Ermilov
c865f8dfa2
Added checks that disallow adding a variable with an empty name.
...
Added variable name syntax checks to "geo" and "map" directives.
2012-12-17 19:03:33 +00:00
Ruslan Ermilov
ba290091cf
Fixed variable syntax checking in "set", "geo", "limit_conn_zone",
...
and "perl_set" directives.
2012-12-13 15:05:19 +00:00
Valentin Bartenev
86dd5bde45
Added three missing checks for NULL after ngx_array_push() calls.
...
Found by Coverity.
2012-08-08 12:03:46 +00:00
Ruslan Ermilov
54ab41f27b
Fixed debugging messages to account that limit_zone was renamed to limit_conn.
2012-07-20 08:21:59 +00:00
Ruslan Ermilov
b74f8ffce4
Fixed spelling in single-line comments.
2012-02-28 11:31:05 +00:00
Maxim Dounin
7ca6c1ff78
Fix of rbtree lookup on hash collisions.
...
Previous code incorrectly assumed that nodes with identical keys are linked
together. This might not be true after tree rebalance.
Patch by Lanshun Zhou.
2012-02-27 22:15:39 +00:00
Valentin Bartenev
9e8708cbd6
Limit conn: returned to the old behavior of using the first actual limit on
...
the way.
It was unintentionally changed in r4272, so that it could only limit the first
location where the processing of the request has reached PREACCESS phase.
2012-02-10 10:48:58 +00:00
Maxim Konovalov
f8d59e33f3
Copyright updated.
2012-01-18 15:07:43 +00:00
Valentin Bartenev
39f01e526f
Fixed limit_conn_log_level/limit_req_log_level inheritance.
...
The directives did not work if there were no limit_conn/limit_req specified on
the same level.
2011-12-25 19:32:31 +00:00
Valentin Bartenev
255e20ad21
Renamed ngx_http_limit_zone_module to ngx_http_limit_conn_module.
2011-11-14 14:04:42 +00:00