summaryrefslogtreecommitdiffhomepage
path: root/src/http/ngx_http_core_module.c
diff options
context:
space:
mode:
authorMaxim Dounin <mdounin@mdounin.ru>2021-02-11 21:52:19 +0300
committerMaxim Dounin <mdounin@mdounin.ru>2021-02-11 21:52:19 +0300
commite82939206dc80a392ecc685013dc98691d9d2f06 (patch)
tree5edd50fb62c1b05bc4792e6319538b341ea806b1 /src/http/ngx_http_core_module.c
parent797a2dc7cf970d2ee7523ec1f276156c5ea16b01 (diff)
downloadnginx-e82939206dc80a392ecc685013dc98691d9d2f06.tar.gz
nginx-e82939206dc80a392ecc685013dc98691d9d2f06.tar.bz2
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.
Diffstat (limited to 'src/http/ngx_http_core_module.c')
-rw-r--r--src/http/ngx_http_core_module.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/http/ngx_http_core_module.c b/src/http/ngx_http_core_module.c
index aa40c9985..67476e7d7 100644
--- a/src/http/ngx_http_core_module.c
+++ b/src/http/ngx_http_core_module.c
@@ -4078,14 +4078,6 @@ ngx_http_core_listen(ngx_conf_t *cf, ngx_command_t *cmd, void *conf)
#endif
}
- if (ngx_strcmp(value[n].data, "spdy") == 0) {
- ngx_conf_log_error(NGX_LOG_WARN, cf, 0,
- "invalid parameter \"spdy\": "
- "ngx_http_spdy_module was superseded "
- "by ngx_http_v2_module");
- continue;
- }
-
if (ngx_strncmp(value[n].data, "so_keepalive=", 13) == 0) {
if (ngx_strcmp(&value[n].data[13], "on") == 0) {