forked from Hakase/nginx-build
Rollback SPDY module and SSL config (TLSv1, TLSv1.1)
This commit is contained in:
@@ -84,6 +84,12 @@ ngx_http_read_client_request_body(ngx_http_request_t *r,
|
||||
goto done;
|
||||
}
|
||||
#endif
|
||||
#if (NGX_HTTP_SPDY)
|
||||
if (r->spdy_stream) {
|
||||
rc = ngx_http_spdy_read_request_body(r, post_handler);
|
||||
goto done;
|
||||
}
|
||||
#endif
|
||||
|
||||
preread = r->header_in->last - r->header_in->pos;
|
||||
|
||||
@@ -524,6 +530,12 @@ ngx_http_discard_request_body(ngx_http_request_t *r)
|
||||
return NGX_OK;
|
||||
}
|
||||
#endif
|
||||
#if (NGX_HTTP_SPDY)
|
||||
if (r->spdy_stream) {
|
||||
r->spdy_stream->skip_data = 1;
|
||||
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