<div>I am trying to understand
reasoning behind nginx setting ngx_connection_t->error (via
filter_finalize check in ngx_http_finalize_request) for 412 responses in
ngx_http_not_modified_filter.<br></div><div><br></div><div>From the
initial introduction of filter_finalize, looks like it was intended to
handle large responses for image filter. However I couldn't find
c->error being read anywhere after ngx_http_terminate_request (which
is called from ngx_http_finalize_request). <br></div><div><a href="https://github.com/nginx/nginx/blob/554916301c424f02b1cabc073845b64f8681099b/src/http/ngx_http_request.c#L2477">https://github.com/nginx/nginx/blob/554916301c424f02b1cabc073845b64f8681099b/src/http/ngx_http_request.c#L2477</a><br></div><div><br></div><div>Can someone please point me to the right direction?<br></div><div><br></div><div class="protonmail_signature_block"><div class="protonmail_signature_block-user protonmail_signature_block-empty"><br></div></div><div>Thanks!<br></div>