Mercurial > hg > nginx-quic
comparison src/http/ngx_http_core_module.c @ 8710:33226ac61076 quic
HTTP/3: merged ngx_http_quic_module into ngx_http_v3_module.
author | Roman Arutyunyan <arut@nginx.com> |
---|---|
date | Mon, 06 Dec 2021 13:02:36 +0300 |
parents | 61d0fa67b55e |
children | be08b858086a |
comparison
equal
deleted
inserted
replaced
8709:9680f0badc95 | 8710:33226ac61076 |
---|---|
4095 return NGX_CONF_ERROR; | 4095 return NGX_CONF_ERROR; |
4096 #endif | 4096 #endif |
4097 } | 4097 } |
4098 | 4098 |
4099 if (ngx_strcmp(value[n].data, "quic") == 0) { | 4099 if (ngx_strcmp(value[n].data, "quic") == 0) { |
4100 #if (NGX_HTTP_QUIC) | 4100 #if (NGX_HTTP_V3) |
4101 lsopt.quic = 1; | 4101 lsopt.quic = 1; |
4102 lsopt.type = SOCK_DGRAM; | 4102 lsopt.type = SOCK_DGRAM; |
4103 continue; | 4103 continue; |
4104 #else | 4104 #else |
4105 ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, | 4105 ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, |
4106 "the \"quic\" parameter requires " | 4106 "the \"quic\" parameter requires " |
4107 "ngx_http_quic_module"); | 4107 "ngx_http_v3_module"); |
4108 return NGX_CONF_ERROR; | 4108 return NGX_CONF_ERROR; |
4109 #endif | 4109 #endif |
4110 } | 4110 } |
4111 | 4111 |
4112 if (ngx_strcmp(value[n].data, "http3") == 0) { | 4112 if (ngx_strcmp(value[n].data, "http3") == 0) { |
4230 if (lsopt.ssl && lsopt.http3) { | 4230 if (lsopt.ssl && lsopt.http3) { |
4231 return "\"ssl\" parameter is incompatible with \"http3\""; | 4231 return "\"ssl\" parameter is incompatible with \"http3\""; |
4232 } | 4232 } |
4233 #endif | 4233 #endif |
4234 | 4234 |
4235 #if (NGX_HTTP_QUIC) | 4235 #if (NGX_HTTP_V3) |
4236 if (lsopt.ssl && lsopt.quic) { | 4236 if (lsopt.ssl && lsopt.quic) { |
4237 return "\"ssl\" parameter is incompatible with \"quic\""; | 4237 return "\"ssl\" parameter is incompatible with \"quic\""; |
4238 } | 4238 } |
4239 #endif | 4239 #endif |
4240 | 4240 |