diff options
author | Maxim Dounin <mdounin@mdounin.ru> | 2022-05-30 21:25:42 +0300 |
---|---|---|
committer | Maxim Dounin <mdounin@mdounin.ru> | 2022-05-30 21:25:42 +0300 |
commit | 25093473051cae249963ace3156900dcc7ef5fae (patch) | |
tree | 2721e4007cad13eba254967439cfc324535713a0 /src/http/ngx_http_script.c | |
parent | 6bf6ef394761c1ba1f06af1b515a5ad1efda99c6 (diff) | |
download | nginx-25093473051cae249963ace3156900dcc7ef5fae.tar.gz nginx-25093473051cae249963ace3156900dcc7ef5fae.zip |
Upstream: simplified Content-Encoding handling.
Since introduction of offset handling in ngx_http_upstream_copy_header_line()
in revision 573:58475592100c, the ngx_http_upstream_copy_content_encoding()
function is no longer needed, as its behaviour is exactly equivalent to
ngx_http_upstream_copy_header_line() with appropriate offset. As such,
the ngx_http_upstream_copy_content_encoding() function was removed.
Further, the u->headers_in.content_encoding field is not used anywhere,
so it was removed as well.
Further, Content-Encoding handling no longer depends on NGX_HTTP_GZIP,
as it can be used even without any gzip handling compiled in (for example,
in the charset filter).
Diffstat (limited to 'src/http/ngx_http_script.c')
0 files changed, 0 insertions, 0 deletions