commit | 607731d594db9955731e56d5f8733bbffcf1c5eb | [log] [tgz] |
---|---|---|
author | Maxim Dounin <mdounin@mdounin.ru> | Mon Oct 09 15:59:10 2017 +0300 |
committer | Maxim Dounin <mdounin@mdounin.ru> | Mon Oct 09 15:59:10 2017 +0300 |
tree | 334256d48162362ba558e90d0ad9440b04baf775 | |
parent | ca260f067b8def7f3294429c267416819e369dcb [diff] |
Upstream: even better handling of invalid headers in cache files. When parsing of headers in a cache file fails, already parsed headers need to be cleared, and protocol state needs to be reinitialized. To do so, u->request_sent is now set to ensure ngx_http_upstream_reinit() will be called. This change complements improvements in 46ddff109e72.