No description
Find a file
Maxim Dounin 3b6b7483f0 Fixed double close of non-regular files in flv and mp4.
With introduction of open_file_cache in 1454:f497ed7682a7, opening a file
with ngx_open_cached_file() automatically adds a cleanup handler to close
the file.  As such, calling ngx_close_file() directly for non-regular files
is no longer needed and will result in duplicate close() call.

In 1454:f497ed7682a7 ngx_close_file() call for non-regular files was removed
in the static module, but wasn't in the flv module.  And the resulting
incorrect code was later copied to the mp4 module.  Fix is to remove the
ngx_close_file() call from both modules.

Reported by Chris Newton.
2020-12-11 13:42:07 +03:00
auto Core: "-e" command line option. 2020-11-19 16:59:00 +00:00
conf MIME: added font/woff2 type (ticket #1243). 2018-06-15 17:29:55 +03:00
contrib Contrib: vim syntax, update core and 3rd party module directives. 2020-05-26 19:17:11 +03:00
docs nginx-1.19.5-RELEASE 2020-11-24 18:06:34 +03:00
misc Updated OpenSSL used for win32 builds. 2020-09-29 15:56:16 +03:00
src Fixed double close of non-regular files in flv and mp4. 2020-12-11 13:42:07 +03:00