Mercurial > hg > nginx
comparison src/http/ngx_http_core_module.c @ 7770:de0b6f1fe4e4
HTTP/2: removed SPDY directives handling.
The spdy_* directives are not available since introduction of HTTP/2 module
in nginx 1.9.5 more than five years ago.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Thu, 11 Feb 2021 21:52:19 +0300 |
parents | 43a0a9e988be |
children | 1ebd78df4ce7 13f7085b90d2 |
comparison
equal
deleted
inserted
replaced
7769:0a5687a458de | 7770:de0b6f1fe4e4 |
---|---|
4076 "ngx_http_v2_module"); | 4076 "ngx_http_v2_module"); |
4077 return NGX_CONF_ERROR; | 4077 return NGX_CONF_ERROR; |
4078 #endif | 4078 #endif |
4079 } | 4079 } |
4080 | 4080 |
4081 if (ngx_strcmp(value[n].data, "spdy") == 0) { | |
4082 ngx_conf_log_error(NGX_LOG_WARN, cf, 0, | |
4083 "invalid parameter \"spdy\": " | |
4084 "ngx_http_spdy_module was superseded " | |
4085 "by ngx_http_v2_module"); | |
4086 continue; | |
4087 } | |
4088 | |
4089 if (ngx_strncmp(value[n].data, "so_keepalive=", 13) == 0) { | 4081 if (ngx_strncmp(value[n].data, "so_keepalive=", 13) == 0) { |
4090 | 4082 |
4091 if (ngx_strcmp(&value[n].data[13], "on") == 0) { | 4083 if (ngx_strcmp(&value[n].data[13], "on") == 0) { |
4092 lsopt.so_keepalive = 1; | 4084 lsopt.so_keepalive = 1; |
4093 | 4085 |