annotate docs/html/index.html @ 7746:88eca63261c3

gRPC: RST_STREAM(NO_ERROR) handling after "trailer only" responses. Similarly to the problem fixed in 2096b21fcd10 (ticket #1792), when a "trailer only" gRPC response (that is, a response with the END_STREAM flag in the HEADERS frame) was immediately followed by RST_STREAM(NO_ERROR) in the data preread along with the response header, RST_STREAM wasn't properly skipped and caused "upstream rejected request with error 0" errors. Observed with "unknown service" gRPC errors returned by grpc-go. Fix is to set ctx->done if we are going to parse additional data, so the RST_STREAM(NO_ERROR) is properly skipped. Additionally, now ngx_http_grpc_filter() will complain about frames sent for closed stream if there are any.
author Pavel Pautov <p.pautov@f5.com>
date Wed, 18 Nov 2020 18:41:16 -0800
parents ed470a7bf7fd
children 67c68cd973b8
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4834
ed470a7bf7fd Improved welcome page.
Valentin Bartenev <vbart@nginx.com>
parents: 450
diff changeset
1 <!DOCTYPE html>
450
551102312e19 nginx-0.1.0-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
2 <html>
551102312e19 nginx-0.1.0-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
3 <head>
551102312e19 nginx-0.1.0-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
4 <title>Welcome to nginx!</title>
4834
ed470a7bf7fd Improved welcome page.
Valentin Bartenev <vbart@nginx.com>
parents: 450
diff changeset
5 <style>
ed470a7bf7fd Improved welcome page.
Valentin Bartenev <vbart@nginx.com>
parents: 450
diff changeset
6 body {
ed470a7bf7fd Improved welcome page.
Valentin Bartenev <vbart@nginx.com>
parents: 450
diff changeset
7 width: 35em;
ed470a7bf7fd Improved welcome page.
Valentin Bartenev <vbart@nginx.com>
parents: 450
diff changeset
8 margin: 0 auto;
ed470a7bf7fd Improved welcome page.
Valentin Bartenev <vbart@nginx.com>
parents: 450
diff changeset
9 font-family: Tahoma, Verdana, Arial, sans-serif;
ed470a7bf7fd Improved welcome page.
Valentin Bartenev <vbart@nginx.com>
parents: 450
diff changeset
10 }
ed470a7bf7fd Improved welcome page.
Valentin Bartenev <vbart@nginx.com>
parents: 450
diff changeset
11 </style>
450
551102312e19 nginx-0.1.0-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
12 </head>
4834
ed470a7bf7fd Improved welcome page.
Valentin Bartenev <vbart@nginx.com>
parents: 450
diff changeset
13 <body>
ed470a7bf7fd Improved welcome page.
Valentin Bartenev <vbart@nginx.com>
parents: 450
diff changeset
14 <h1>Welcome to nginx!</h1>
ed470a7bf7fd Improved welcome page.
Valentin Bartenev <vbart@nginx.com>
parents: 450
diff changeset
15 <p>If you see this page, the nginx web server is successfully installed and
ed470a7bf7fd Improved welcome page.
Valentin Bartenev <vbart@nginx.com>
parents: 450
diff changeset
16 working. Further configuration is required.</p>
ed470a7bf7fd Improved welcome page.
Valentin Bartenev <vbart@nginx.com>
parents: 450
diff changeset
17
ed470a7bf7fd Improved welcome page.
Valentin Bartenev <vbart@nginx.com>
parents: 450
diff changeset
18 <p>For online documentation and support please refer to
ed470a7bf7fd Improved welcome page.
Valentin Bartenev <vbart@nginx.com>
parents: 450
diff changeset
19 <a href="http://nginx.org/">nginx.org</a>.<br/>
ed470a7bf7fd Improved welcome page.
Valentin Bartenev <vbart@nginx.com>
parents: 450
diff changeset
20 Commercial support is available at
ed470a7bf7fd Improved welcome page.
Valentin Bartenev <vbart@nginx.com>
parents: 450
diff changeset
21 <a href="http://nginx.com/">nginx.com</a>.</p>
ed470a7bf7fd Improved welcome page.
Valentin Bartenev <vbart@nginx.com>
parents: 450
diff changeset
22
ed470a7bf7fd Improved welcome page.
Valentin Bartenev <vbart@nginx.com>
parents: 450
diff changeset
23 <p><em>Thank you for using nginx.</em></p>
450
551102312e19 nginx-0.1.0-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
24 </body>
551102312e19 nginx-0.1.0-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
25 </html>