diff options
author | Sergey Kandaurov <pluknet@nginx.com> | 2015-04-07 01:32:08 +0300 |
---|---|---|
committer | Sergey Kandaurov <pluknet@nginx.com> | 2015-04-07 01:32:08 +0300 |
commit | 38a97edf3abcd988e6eb731ec3968949960c1be9 (patch) | |
tree | 37a8d4b572d0df35d2e131119cd59b6af3fadbac /src/core/nginx.c | |
parent | 256082c4f85e23888c3b56fbfcd86fc63547bd87 (diff) | |
download | nginx-38a97edf3abcd988e6eb731ec3968949960c1be9.tar.gz nginx-38a97edf3abcd988e6eb731ec3968949960c1be9.zip |
Core: limited levels of subdirectory hierarchy used for temp files.
Similar to ngx_http_file_cache_set_slot(), the last component of file->name
with a fixed length of 10 bytes, as generated in ngx_create_temp_path(), is
used as a source for the names of intermediate subdirectories with each one
taking its own part. Ensure that the sum of specified levels with slashes
fits into the length (ticket #731).
Diffstat (limited to 'src/core/nginx.c')
0 files changed, 0 insertions, 0 deletions