diff options
author | Igor Sysoev <igor@sysoev.ru> | 2009-02-18 12:24:14 +0300 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2009-02-18 12:24:14 +0300 |
commit | 34abdb168389c30a6aeed5bbcb45bebd85b2267e (patch) | |
tree | f52a4361426407af456ad8ac9a9605c9d5de858e /src | |
parent | 7b9d3ce703cf842eff2a0136c1c57602e0623b46 (diff) |
add debug logging
Diffstat (limited to 'src')
-rw-r--r-- | src/http/modules/ngx_http_browser_module.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/http/modules/ngx_http_browser_module.c b/src/http/modules/ngx_http_browser_module.c index 390b62f2a..e0710c1bf 100644 --- a/src/http/modules/ngx_http_browser_module.c +++ b/src/http/modules/ngx_http_browser_module.c @@ -318,6 +318,10 @@ ngx_http_browser(ngx_http_request_t *r, ngx_http_browser_conf_t *cf) if (c == '.') { version += ver * scale; + ngx_log_debug2(NGX_LOG_DEBUG_HTTP, r->connection->log, 0, + "version: \"%ui\" \"%ui\"", + modern[i].version, version); + if (version > modern[i].version) { return NGX_HTTP_MODERN_BROWSER; } |