comparison src/http/v3/ngx_http_v3_module.c @ 9055:1192923be0aa quic

QUIC: idle mode for main connection. Now main QUIC connection for HTTP/3 always has c->idle flag set. This allows the connection to receive worker shutdown notification. It is passed to application level via a new conf->shutdown() callback. The HTTP/3 shutdown callback sends GOAWAY to client and gracefully shuts down the QUIC connection.
author Roman Arutyunyan <arut@nginx.com>
date Wed, 19 Oct 2022 17:45:18 +0400
parents 7106a918a277
children b0c2234aaa9f
comparison
equal deleted inserted replaced
9054:6546c2ae1c7b 9055:1192923be0aa
247 h3scf->quic.gso_enabled = NGX_CONF_UNSET; 247 h3scf->quic.gso_enabled = NGX_CONF_UNSET;
248 h3scf->quic.stream_close_code = NGX_HTTP_V3_ERR_NO_ERROR; 248 h3scf->quic.stream_close_code = NGX_HTTP_V3_ERR_NO_ERROR;
249 h3scf->quic.stream_reject_code_bidi = NGX_HTTP_V3_ERR_REQUEST_REJECTED; 249 h3scf->quic.stream_reject_code_bidi = NGX_HTTP_V3_ERR_REQUEST_REJECTED;
250 h3scf->quic.active_connection_id_limit = NGX_CONF_UNSET_UINT; 250 h3scf->quic.active_connection_id_limit = NGX_CONF_UNSET_UINT;
251 251
252 h3scf->quic.shutdown = ngx_http_v3_shutdown;
253
252 return h3scf; 254 return h3scf;
253 } 255 }
254 256
255 257
256 static char * 258 static char *