Rollback SPDY module and SSL config (TLSv1, TLSv1.1)

This commit is contained in:
2018-06-07 09:54:00 +09:00
parent 565076d337
commit 33cd571e41
20 changed files with 5863 additions and 85 deletions
+12
View File
@@ -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;