Mercurial > hg > nginx
annotate misc/README @ 7033:ab5117642647
Gzip: fixed style in $gzip_ratio variable handler.
The current style in variable handlers returning NGX_OK is to either set
v->not_found to 1, or to initialize the entire ngx_http_variable_value_t
structure.
In theory, always setting v->valid = 1 for NGX_OK would be useful, which
would mean that the value was computed and is thus valid, including the
special case of v->not_found = 1. But currently that's not the case and
causes the (v->valid || v->not_found) check to access an uninitialized
v->valid value, which is safe only because its value doesn't matter when
v->not_found is set.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Wed, 14 Jun 2017 12:49:20 +0300 |
parents | 001beb963d86 |
children | 985b0bda403c |
rev | line source |
---|---|
681 | 1 |
2 make -f misc/GNUmakefile release | |
3 | |
4 the required tools: | |
5 *) xsltproc to build CHANGES, | |
5663
001beb963d86
Documented the switch from java XSLScript to xslscript.pl.
Ruslan Ermilov <ru@nginx.com>
parents:
5212
diff
changeset
|
6 *) xslscript.pl ( http://hg.nginx.org/xslscript ) to build XSLTs |
681 | 7 from XSLScript sources. |
8 | |
9 | |
10 make -f misc/GNUmakefile icons | |
11 | |
12 the required tool: | |
13 *) netpbm to create Win32 icons from xpm sources. |