diff options
author | Maxim Dounin <mdounin@mdounin.ru> | 2015-03-23 19:28:54 +0300 |
---|---|---|
committer | Maxim Dounin <mdounin@mdounin.ru> | 2015-03-23 19:28:54 +0300 |
commit | 58eb93f791d27482519161a9bdef00acd9b33298 (patch) | |
tree | 9ab78f6853196fa4620796a9f528e4f88a51df08 /src/http/ngx_http_request.h | |
parent | e87a565aab4da7ade1f016c2bab4371a70998974 (diff) | |
download | nginx-58eb93f791d27482519161a9bdef00acd9b33298.tar.gz nginx-58eb93f791d27482519161a9bdef00acd9b33298.zip |
Proxy: fixed proxy_set_body with proxy_cache.
If the last header evaluation resulted in an empty header, the e.skip flag
was set and was not reset when we've switched to evaluation of body_values.
This incorrectly resulted in body values being skipped instead of producing
some correct body as set by proxy_set_body. Fix is to properly reset
the e.skip flag.
As the problem only appeared if the last potentially non-empty header
happened to be empty, it only manifested itself if proxy_set_body was used
with proxy_cache.
Diffstat (limited to 'src/http/ngx_http_request.h')
0 files changed, 0 insertions, 0 deletions