Mercurial > hg > nginx
comparison src/http/v2/ngx_http_v2.c @ 7571:ab5cac9d3f00
HTTP/2: fixed worker_shutdown_timeout.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Mon, 23 Sep 2019 15:45:36 +0300 |
parents | d6cf51af8a3d |
children | 82c1339e2637 |
comparison
equal
deleted
inserted
replaced
7570:d6cf51af8a3d | 7571:ab5cac9d3f00 |
---|---|
352 h2c->blocked = 1; | 352 h2c->blocked = 1; |
353 | 353 |
354 if (c->close) { | 354 if (c->close) { |
355 c->close = 0; | 355 c->close = 0; |
356 | 356 |
357 if (c->error) { | |
358 ngx_http_v2_finalize_connection(h2c, 0); | |
359 return; | |
360 } | |
361 | |
357 if (!h2c->goaway) { | 362 if (!h2c->goaway) { |
358 h2c->goaway = 1; | 363 h2c->goaway = 1; |
359 | 364 |
360 if (ngx_http_v2_send_goaway(h2c, NGX_HTTP_V2_NO_ERROR) | 365 if (ngx_http_v2_send_goaway(h2c, NGX_HTTP_V2_NO_ERROR) |
361 == NGX_ERROR) | 366 == NGX_ERROR) |