comparison src/core/ngx_connection.c @ 7704:847fd35f94de

Cache: reset c->body_start when reading a variant on Vary mismatch. Previously, a variant not present in shared memory and stored on disk using a secondary key was read using c->body_start from a variant stored with a main key. This could result in critical errors "cache file .. has too long header".
author Sergey Kandaurov <pluknet@nginx.com>
date Fri, 04 Aug 2017 19:37:37 +0300
parents 5440ff4ac6fc
children 6d98f29867e8 532fe796b0e2
comparison
equal deleted inserted replaced
7703:da5e3f5b1673 7704:847fd35f94de