The official NGINX Open Source repository.
Go to file
Ruslan Ermilov fa0992ed29 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.
2017-06-14 12:49:20 +03:00
auto Configure: use .exe for binaries for all win32 compilers. 2017-06-06 19:37:34 +03:00
conf Added the REQUEST_SCHEME parameter. 2015-06-05 22:23:26 +03:00
contrib Contrib: proper syntax parsing in vim syntax highlighting. 2017-05-22 16:34:47 +03:00
docs nginx-1.13.1-RELEASE 2017-05-30 17:55:22 +03:00
misc Updated OpenSSL used for win32 builds. 2017-05-30 17:14:00 +03:00
src Gzip: fixed style in $gzip_ratio variable handler. 2017-06-14 12:49:20 +03:00
.hgtags release-1.13.1 tag 2017-05-30 17:55:23 +03:00