Mercurial > hg > nginx
comparison src/http/modules/ngx_http_stub_status_module.c @ 7077:2a288909abc6
Variables: macros for null variables.
No functional changes.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Tue, 01 Aug 2017 14:28:33 +0300 |
parents | b1858fc47e3b |
children | 43a0a9e988be |
comparison
equal
deleted
inserted
replaced
7076:1b82e86dd3e7 | 7077:2a288909abc6 |
---|---|
74 2, NGX_HTTP_VAR_NOCACHEABLE, 0 }, | 74 2, NGX_HTTP_VAR_NOCACHEABLE, 0 }, |
75 | 75 |
76 { ngx_string("connections_waiting"), NULL, ngx_http_stub_status_variable, | 76 { ngx_string("connections_waiting"), NULL, ngx_http_stub_status_variable, |
77 3, NGX_HTTP_VAR_NOCACHEABLE, 0 }, | 77 3, NGX_HTTP_VAR_NOCACHEABLE, 0 }, |
78 | 78 |
79 { ngx_null_string, NULL, NULL, 0, 0, 0 } | 79 ngx_http_null_variable |
80 }; | 80 }; |
81 | 81 |
82 | 82 |
83 static ngx_int_t | 83 static ngx_int_t |
84 ngx_http_stub_status_handler(ngx_http_request_t *r) | 84 ngx_http_stub_status_handler(ngx_http_request_t *r) |