Remove SPDY Module
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user