mirror of
https://github.com/nginx/nginx.git
synced 2026-06-30 22:02:37 +00:00
Previously, when these fields were larger than ~2M, the number of bytes allocated for the field length was insufficient for such a large number. The deficit is 1 byte up until ~4M, 2 bytes for sizes above, and grows bigger with even larger fields. Currently, nginx does not have modules which allow to exploit this overflow with reasonably large Content-Type and Location. The reason is other response fields make up for this deficit. For example, the Date header value contains the characters compressed well by Huffman encoding, which frees up spare bytes in the header buffer. Reported by Leo Lin. |
||
|---|---|---|
| .. | ||
| modules | ||
| v2 | ||
| v3 | ||
| ngx_http.c | ||
| ngx_http.h | ||
| ngx_http_cache.h | ||
| ngx_http_config.h | ||
| ngx_http_copy_filter_module.c | ||
| ngx_http_core_module.c | ||
| ngx_http_core_module.h | ||
| ngx_http_file_cache.c | ||
| ngx_http_header_filter_module.c | ||
| ngx_http_huff_decode.c | ||
| ngx_http_huff_encode.c | ||
| ngx_http_parse.c | ||
| ngx_http_postpone_filter_module.c | ||
| ngx_http_request.c | ||
| ngx_http_request.h | ||
| ngx_http_request_body.c | ||
| ngx_http_script.c | ||
| ngx_http_script.h | ||
| ngx_http_special_response.c | ||
| ngx_http_upstream.c | ||
| ngx_http_upstream.h | ||
| ngx_http_upstream_round_robin.c | ||
| ngx_http_upstream_round_robin.h | ||
| ngx_http_variables.c | ||
| ngx_http_variables.h | ||
| ngx_http_write_filter_module.c | ||