Remove SPDY Module

This commit is contained in:
Hakase
2018-04-10 01:35:45 +09:00
parent 1e97fe4be5
commit ae4394f371
19 changed files with 11 additions and 5875 deletions
-14
View File
@@ -46,14 +46,6 @@ ngx_http_read_client_request_body(ngx_http_request_t *r,
return NGX_OK;
}
#if (NGX_HTTP_SPDY)
if (r->spdy_stream && r == r->main) {
r->request_body_no_buffering = 0;
rc = ngx_http_spdy_read_request_body(r, post_handler);
goto done;
}
#endif
if (ngx_http_test_expect(r) != NGX_OK) {
rc = NGX_HTTP_INTERNAL_SERVER_ERROR;
goto done;
@@ -532,12 +524,6 @@ ngx_http_discard_request_body(ngx_http_request_t *r)
return NGX_OK;
}
#endif
#if (NGX_HTTP_SPDY)
if (r->spdy_stream && r == r->main) {
r->spdy_stream->skip_data = NGX_SPDY_DATA_DISCARD;
return NGX_OK;
}
#endif
if (ngx_http_test_expect(r) != NGX_OK) {
return NGX_HTTP_INTERNAL_SERVER_ERROR;