summaryrefslogtreecommitdiffhomepage
path: root/src/mail/ngx_mail_imap_handler.c
diff options
context:
space:
mode:
authorValentin Bartenev <vbart@nginx.com>2016-10-20 16:15:03 +0300
committerValentin Bartenev <vbart@nginx.com>2016-10-20 16:15:03 +0300
commit8c520c96212bb53fed4656f9e2bcc774c957e795 (patch)
tree3481a4ed6dd3577402dabacd4a797ca846299fc3 /src/mail/ngx_mail_imap_handler.c
parent4891ba59d809133470636671f6714733b9484899 (diff)
downloadnginx-8c520c96212bb53fed4656f9e2bcc774c957e795.tar.gz
nginx-8c520c96212bb53fed4656f9e2bcc774c957e795.tar.bz2
HTTP/2: graceful shutdown of active connections (closes #1106).
Previously, while shutting down gracefully, the HTTP/2 connections were closed in transition to idle state after all active streams have been processed. That might never happen if the client continued opening new streams. Now, nginx sends GOAWAY to all HTTP/2 connections and ignores further attempts to open new streams. A worker process will quit as soon as processing of already opened streams is finished.
Diffstat (limited to 'src/mail/ngx_mail_imap_handler.c')
0 files changed, 0 insertions, 0 deletions