Mercurial > hg > nginx-quic
annotate docs/html/index.html @ 8253:7a55311b0dc3
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.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Fri, 11 Dec 2020 13:42:07 +0300 |
parents | ed470a7bf7fd |
children | 67c68cd973b8 |
rev | line source |
---|---|
4834 | 1 <!DOCTYPE html> |
450 | 2 <html> |
3 <head> | |
4 <title>Welcome to nginx!</title> | |
4834 | 5 <style> |
6 body { | |
7 width: 35em; | |
8 margin: 0 auto; | |
9 font-family: Tahoma, Verdana, Arial, sans-serif; | |
10 } | |
11 </style> | |
450 | 12 </head> |
4834 | 13 <body> |
14 <h1>Welcome to nginx!</h1> | |
15 <p>If you see this page, the nginx web server is successfully installed and | |
16 working. Further configuration is required.</p> | |
17 | |
18 <p>For online documentation and support please refer to | |
19 <a href="http://nginx.org/">nginx.org</a>.<br/> | |
20 Commercial support is available at | |
21 <a href="http://nginx.com/">nginx.com</a>.</p> | |
22 | |
23 <p><em>Thank you for using nginx.</em></p> | |
450 | 24 </body> |
25 </html> |