diff options
author | Roman Arutyunyan <arut@nginx.com> | 2023-05-11 13:22:10 +0400 |
---|---|---|
committer | Roman Arutyunyan <arut@nginx.com> | 2023-05-11 13:22:10 +0400 |
commit | 2ce3eeeeb76318e414b62d399da70872d2de23d8 (patch) | |
tree | 869554639be761b886c49486ed896da8a31f0c08 /src/http/ngx_http_core_module.c | |
parent | 6cc803e713698b4b09ab46ccd7ae986faa55c386 (diff) | |
download | nginx-2ce3eeeeb76318e414b62d399da70872d2de23d8.tar.gz nginx-2ce3eeeeb76318e414b62d399da70872d2de23d8.zip |
HTTP/3: removed "http3" parameter of "listen" directive.
The parameter has been deprecated since c851a2ed5ce8.
Diffstat (limited to 'src/http/ngx_http_core_module.c')
-rw-r--r-- | src/http/ngx_http_core_module.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/src/http/ngx_http_core_module.c b/src/http/ngx_http_core_module.c index 1f9fec4fe..bd8f7666a 100644 --- a/src/http/ngx_http_core_module.c +++ b/src/http/ngx_http_core_module.c @@ -4186,23 +4186,6 @@ ngx_http_core_listen(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) #endif } - if (ngx_strcmp(value[n].data, "http3") == 0) { -#if (NGX_HTTP_V3) - ngx_conf_log_error(NGX_LOG_WARN, cf, 0, - "the \"http3\" parameter is deprecated, " - "use \"quic\" parameter instead"); - lsopt.quic = 1; - lsopt.http3 = 1; - lsopt.type = SOCK_DGRAM; - continue; -#else - ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, - "the \"http3\" parameter requires " - "ngx_http_v3_module"); - return NGX_CONF_ERROR; -#endif - } - if (ngx_strcmp(value[n].data, "quic") == 0) { #if (NGX_HTTP_V3) lsopt.quic = 1; |