summaryrefslogtreecommitdiffhomepage
path: root/configure
diff options
context:
space:
mode:
authorAndrew Clayton <a.clayton@nginx.com>2025-08-11 19:08:07 +0100
committerAndrew Clayton <a.clayton@nginx.com>2025-08-20 13:55:59 +0100
commit6482e46a6b35214967095169842e1d5403a01d4d (patch)
treed010fd9b480b389293dc90367bf3f1e81098c630 /configure
parent9f29628f01636abf5a0eaf2a97898267f6b39fa7 (diff)
downloadunit-6482e46a6b35214967095169842e1d5403a01d4d.tar.gz
unit-6482e46a6b35214967095169842e1d5403a01d4d.tar.bz2
http: compression: Set the temporary file name in n_h_c_c_s_r()
When creating a new nxt_file_t structure in nxt_http_comp_compress_static_response() for the temporary compressed file be sure to set the *name* member. We don't generally need it, but I failed to notice that when calling nxt_file_close() if the close(2) fails then we log an error message containing the file name, which at best would have just printed junk. So set the file name for this particular error case... This issue was reported by coverity. Signed-off-by: Andrew Clayton <a.clayton@nginx.com>
Diffstat (limited to 'configure')
0 files changed, 0 insertions, 0 deletions