diff options
author | Roman Arutyunyan <arut@nginx.com> | 2021-12-06 13:02:36 +0300 |
---|---|---|
committer | Roman Arutyunyan <arut@nginx.com> | 2021-12-06 13:02:36 +0300 |
commit | 731915a0c5e90b79d3cca1a4b0a3c33e1f77631c (patch) | |
tree | 5282f6ce9982b7dc159b98a04baeedd03a7cb4fc /src/http/ngx_http_core_module.c | |
parent | ea55dbccb248629628baad2b85d7634c82b613ec (diff) | |
download | nginx-731915a0c5e90b79d3cca1a4b0a3c33e1f77631c.tar.gz nginx-731915a0c5e90b79d3cca1a4b0a3c33e1f77631c.zip |
HTTP/3: merged ngx_http_quic_module into ngx_http_v3_module.
Diffstat (limited to 'src/http/ngx_http_core_module.c')
-rw-r--r-- | src/http/ngx_http_core_module.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/http/ngx_http_core_module.c b/src/http/ngx_http_core_module.c index 19bc75136..1e8e27802 100644 --- a/src/http/ngx_http_core_module.c +++ b/src/http/ngx_http_core_module.c @@ -4097,14 +4097,14 @@ ngx_http_core_listen(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) } if (ngx_strcmp(value[n].data, "quic") == 0) { -#if (NGX_HTTP_QUIC) +#if (NGX_HTTP_V3) lsopt.quic = 1; lsopt.type = SOCK_DGRAM; continue; #else ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, "the \"quic\" parameter requires " - "ngx_http_quic_module"); + "ngx_http_v3_module"); return NGX_CONF_ERROR; #endif } @@ -4232,7 +4232,7 @@ ngx_http_core_listen(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) } #endif -#if (NGX_HTTP_QUIC) +#if (NGX_HTTP_V3) if (lsopt.ssl && lsopt.quic) { return "\"ssl\" parameter is incompatible with \"quic\""; } |