Mercurial > hg > nginx
annotate docs/xsls/dump.xsls @ 4417:9e9d2e06f933
Limit req: improved error handling when parsing "zone" parameter of
"limit_req_zone" directive; minimum size of zone is increased.
Previously an unsigned variable was used to keep the return value of
ngx_parse_size() function, which led to an incorrect zone size if NGX_ERROR
was returned.
The new code has been taken from the "limit_conn_zone" directive.
author | Valentin Bartenev <vbart@nginx.com> |
---|---|
date | Mon, 30 Jan 2012 09:26:08 +0000 |
parents | 551102312e19 |
children | 2c863b4a8f93 |
rev | line source |
---|---|
450 | 1 X:stylesheet { |
2 | |
3 X:output method="xml" | |
4 X:param indent-increment="' '"; | |
5 | |
6 X:template noname(indent="'
'") = "*" { | |
7 !{$indent} | |
8 | |
9 X:if "name()='xsl:template'" { | |
10 !{$indent} | |
11 } | |
12 | |
13 X:copy { | |
14 X:copy-of "@*" | |
15 !!( indent = "concat($indent, $indent-increment)" ); | |
16 X:if "./* " { !{$indent} } | |
17 } | |
18 } | |
19 | |
20 | |
21 X:template = "comment()|processing-instruction()" { | |
22 X:copy; | |
23 } | |
24 | |
25 <!-- | |
26 X:template ="text()[normalize-space(.)='']" {} | |
27 --> | |
28 | |
29 } |