Mercurial > hg > nginx-quic
annotate docs/html/50x.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 | 1cd63ae46243 |
children | 67c68cd973b8 |
rev | line source |
---|---|
4840
b5ba6f22a0fc
Improved 50x error page.
Valentin Bartenev <vbart@nginx.com>
parents:
663
diff
changeset
|
1 <!DOCTYPE html> |
657 | 2 <html> |
3 <head> | |
4840
b5ba6f22a0fc
Improved 50x error page.
Valentin Bartenev <vbart@nginx.com>
parents:
663
diff
changeset
|
4 <title>Error</title> |
657 | 5 <style> |
4840
b5ba6f22a0fc
Improved 50x error page.
Valentin Bartenev <vbart@nginx.com>
parents:
663
diff
changeset
|
6 body { |
b5ba6f22a0fc
Improved 50x error page.
Valentin Bartenev <vbart@nginx.com>
parents:
663
diff
changeset
|
7 width: 35em; |
b5ba6f22a0fc
Improved 50x error page.
Valentin Bartenev <vbart@nginx.com>
parents:
663
diff
changeset
|
8 margin: 0 auto; |
b5ba6f22a0fc
Improved 50x error page.
Valentin Bartenev <vbart@nginx.com>
parents:
663
diff
changeset
|
9 font-family: Tahoma, Verdana, Arial, sans-serif; |
b5ba6f22a0fc
Improved 50x error page.
Valentin Bartenev <vbart@nginx.com>
parents:
663
diff
changeset
|
10 } |
657 | 11 </style> |
12 </head> | |
4840
b5ba6f22a0fc
Improved 50x error page.
Valentin Bartenev <vbart@nginx.com>
parents:
663
diff
changeset
|
13 <body> |
b5ba6f22a0fc
Improved 50x error page.
Valentin Bartenev <vbart@nginx.com>
parents:
663
diff
changeset
|
14 <h1>An error occurred.</h1> |
b5ba6f22a0fc
Improved 50x error page.
Valentin Bartenev <vbart@nginx.com>
parents:
663
diff
changeset
|
15 <p>Sorry, the page you are looking for is currently unavailable.<br/> |
b5ba6f22a0fc
Improved 50x error page.
Valentin Bartenev <vbart@nginx.com>
parents:
663
diff
changeset
|
16 Please try again later.</p> |
b5ba6f22a0fc
Improved 50x error page.
Valentin Bartenev <vbart@nginx.com>
parents:
663
diff
changeset
|
17 <p>If you are the system administrator of this resource then you should check |
7336
1cd63ae46243
A link to the error_log directive on nginx.org removed.
Maxim Konovalov <maxim@nginx.com>
parents:
4840
diff
changeset
|
18 the error log for details.</p> |
4840
b5ba6f22a0fc
Improved 50x error page.
Valentin Bartenev <vbart@nginx.com>
parents:
663
diff
changeset
|
19 <p><em>Faithfully yours, nginx.</em></p> |
657 | 20 </body> |
21 </html> |