Welcome! Log In Create A New Profile

Advanced

[nginx] HTTP/2: fixed worker_shutdown_timeout.

September 23, 2019 08:48AM
details: https://hg.nginx.org/nginx/rev/ab5cac9d3f00
branches:
changeset: 7571:ab5cac9d3f00
user: Ruslan Ermilov <ru@nginx.com>
date: Mon Sep 23 15:45:36 2019 +0300
description:
HTTP/2: fixed worker_shutdown_timeout.

diffstat:

src/http/v2/ngx_http_v2.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)

diffs (15 lines):

diff -r d6cf51af8a3d -r ab5cac9d3f00 src/http/v2/ngx_http_v2.c
--- a/src/http/v2/ngx_http_v2.c Mon Sep 23 15:45:32 2019 +0300
+++ b/src/http/v2/ngx_http_v2.c Mon Sep 23 15:45:36 2019 +0300
@@ -354,6 +354,11 @@ ngx_http_v2_read_handler(ngx_event_t *re
if (c->close) {
c->close = 0;

+ if (c->error) {
+ ngx_http_v2_finalize_connection(h2c, 0);
+ return;
+ }
+
if (!h2c->goaway) {
h2c->goaway = 1;

_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[nginx] HTTP/2: fixed worker_shutdown_timeout.

ru@nginx.com 535 September 23, 2019 08:48AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 271
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready