aboutsummaryrefslogtreecommitdiff
path: root/src/http/ngx_http_request.h
diff options
context:
space:
mode:
authorMaxim Dounin <mdounin@mdounin.ru>2014-06-26 02:19:58 +0400
committerMaxim Dounin <mdounin@mdounin.ru>2014-06-26 02:19:58 +0400
commit4e275cc73a402e7508309a6612c774d21dffc88e (patch)
treebfba8b337cf759b89fad9f9f80ca3cc89d1fde86 /src/http/ngx_http_request.h
parent05dfc054f0d90ae68476272c62be6e67aab21e20 (diff)
downloadnginx-4e275cc73a402e7508309a6612c774d21dffc88e.tar.gz
nginx-4e275cc73a402e7508309a6612c774d21dffc88e.zip
Upstream: no need to clear r->headers_out.last_modified_time.
Clearing of the r->headers_out.last_modified_time field if a response isn't cacheable in ngx_http_upstream_send_response() was introduced in 3b6afa999c2f, the commit to enable not modified filter for cacheable responses. It doesn't make sense though, as at this point header was already sent, and not modified filter was already executed. Therefore, the line was removed to simplify code.
Diffstat (limited to 'src/http/ngx_http_request.h')
0 files changed, 0 insertions, 0 deletions