Mercurial > hg > nginx
changeset 8907:122bfa14465b quic
HTTP/3: fixed compilation with QUIC, but without HTTP/3.
author | Roman Arutyunyan <arut@nginx.com> |
---|---|
date | Wed, 17 Nov 2021 18:49:48 +0300 |
parents | 41caf5410110 |
children | e8cbbfabe547 |
files | src/http/modules/ngx_http_quic_module.c |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/http/modules/ngx_http_quic_module.c Thu Nov 11 19:07:00 2021 +0300 +++ b/src/http/modules/ngx_http_quic_module.c Wed Nov 17 18:49:48 2021 +0300 @@ -332,8 +332,10 @@ conf->retry = NGX_CONF_UNSET; conf->gso_enabled = NGX_CONF_UNSET; +#if (NGX_HTTP_V3) conf->stream_close_code = NGX_HTTP_V3_ERR_NO_ERROR; conf->stream_reject_code_bidi = NGX_HTTP_V3_ERR_REQUEST_REJECTED; +#endif return conf; }