Welcome! Log In Create A New Profile

Advanced

[nginx] Not modified filter: debug log format fixed.

Maxim Dounin
June 25, 2014 06:42PM
details: http://hg.nginx.org/nginx/rev/bb3d74fc4aea
branches:
changeset: 5729:bb3d74fc4aea
user: Maxim Dounin <mdounin@mdounin.ru>
date: Thu Jun 26 02:19:55 2014 +0400
description:
Not modified filter: debug log format fixed.

diffstat:

src/http/modules/ngx_http_not_modified_filter_module.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)

diffs (21 lines):

diff --git a/src/http/modules/ngx_http_not_modified_filter_module.c b/src/http/modules/ngx_http_not_modified_filter_module.c
--- a/src/http/modules/ngx_http_not_modified_filter_module.c
+++ b/src/http/modules/ngx_http_not_modified_filter_module.c
@@ -118,7 +118,7 @@ ngx_http_test_if_unmodified(ngx_http_req
r->headers_in.if_unmodified_since->value.len);

ngx_log_debug2(NGX_LOG_DEBUG_HTTP, r->connection->log, 0,
- "http iums:%d lm:%d", iums, r->headers_out.last_modified_time);
+ "http iums:%T lm:%T", iums, r->headers_out.last_modified_time);

if (iums >= r->headers_out.last_modified_time) {
return 1;
@@ -144,7 +144,7 @@ ngx_http_test_if_modified(ngx_http_reque
r->headers_in.if_modified_since->value.len);

ngx_log_debug2(NGX_LOG_DEBUG_HTTP, r->connection->log, 0,
- "http ims:%d lm:%d", ims, r->headers_out.last_modified_time);
+ "http ims:%T lm:%T", ims, r->headers_out.last_modified_time);

if (ims == r->headers_out.last_modified_time) {
return 0;

_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[nginx] Not modified filter: debug log format fixed.

Maxim Dounin 538 June 25, 2014 06:42PM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 122
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready