aboutsummaryrefslogtreecommitdiff
path: root/src/core/ngx_open_file_cache.c
diff options
context:
space:
mode:
authorMaxim Dounin <mdounin@mdounin.ru>2020-12-10 20:09:39 +0300
committerMaxim Dounin <mdounin@mdounin.ru>2020-12-10 20:09:39 +0300
commit2e94c81b0bf1d8e695d9afd074c79520aa03081a (patch)
tree11b4b52a729526e4b93e9227055a51312467c1c5 /src/core/ngx_open_file_cache.c
parentce9971b2b5c14982afede89635508334938ac520 (diff)
downloadnginx-2e94c81b0bf1d8e695d9afd074c79520aa03081a.tar.gz
nginx-2e94c81b0bf1d8e695d9afd074c79520aa03081a.zip
Removed extra allocation for r->uri.
The ngx_http_parse_complex_uri() function cannot make URI longer and does not null-terminate URI, so there is no need to allocate an extra byte. This allocation appears to be a leftover from changes in 461:a88a3e4e158f (0.1.5), where null-termination of r->uri and many other strings was removed.
Diffstat (limited to 'src/core/ngx_open_file_cache.c')
0 files changed, 0 insertions, 0 deletions