Mercurial > hg > nginx
annotate docs/html/50x.html @ 9280:da400acf3756
QUIC: fixed close timer processing with early data.
The ngx_quic_run() function uses qc->close timer to limit the handshake
duration. Normally it is removed by ngx_quic_do_init_streams() which is
called once when we are done with initial SSL processing.
The problem happens when the client sends early data and streams are
initialized in the ngx_quic_run() -> ngx_quic_handle_datagram() call.
The order of set/remove timer calls is now reversed; the close timer is
set up and the timer fires when assigned, starting the unexpected connection
close process.
The fix is to skip setting the timer if streams were initialized during
handling of the initial datagram. The idle timer for quic is set anyway,
and stream-related timeouts are managed by application layer.
author | Vladimir Khomutov <vl@wbsrv.ru> |
---|---|
date | Wed, 10 Apr 2024 09:38:10 +0300 |
parents | f2ddd0c491bf |
children |
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> |
7903
f2ddd0c491bf
Dark mode support in welcome and 50x error pages.
Maxim Dounin <mdounin@mdounin.ru>
parents:
7902
diff
changeset
|
6 html { color-scheme: light dark; } |
7902
67c68cd973b8
Welcome and 50x error pages style.
Maxim Dounin <mdounin@mdounin.ru>
parents:
7336
diff
changeset
|
7 body { width: 35em; margin: 0 auto; |
67c68cd973b8
Welcome and 50x error pages style.
Maxim Dounin <mdounin@mdounin.ru>
parents:
7336
diff
changeset
|
8 font-family: Tahoma, Verdana, Arial, sans-serif; } |
657 | 9 </style> |
10 </head> | |
4840
b5ba6f22a0fc
Improved 50x error page.
Valentin Bartenev <vbart@nginx.com>
parents:
663
diff
changeset
|
11 <body> |
b5ba6f22a0fc
Improved 50x error page.
Valentin Bartenev <vbart@nginx.com>
parents:
663
diff
changeset
|
12 <h1>An error occurred.</h1> |
b5ba6f22a0fc
Improved 50x error page.
Valentin Bartenev <vbart@nginx.com>
parents:
663
diff
changeset
|
13 <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
|
14 Please try again later.</p> |
b5ba6f22a0fc
Improved 50x error page.
Valentin Bartenev <vbart@nginx.com>
parents:
663
diff
changeset
|
15 <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
|
16 the error log for details.</p> |
4840
b5ba6f22a0fc
Improved 50x error page.
Valentin Bartenev <vbart@nginx.com>
parents:
663
diff
changeset
|
17 <p><em>Faithfully yours, nginx.</em></p> |
657 | 18 </body> |
19 </html> |