mirror of
https://github.com/nginx/nginx.git
synced 2025-06-12 21:52:41 +08:00
HTTP/2: improved body reading logging.
This commit is contained in:
parent
c231640eba
commit
301efb8a73
@ -4154,6 +4154,9 @@ ngx_http_v2_process_request_body(ngx_http_request_t *r, u_char *pos,
|
|||||||
rb = r->request_body;
|
rb = r->request_body;
|
||||||
buf = rb->buf;
|
buf = rb->buf;
|
||||||
|
|
||||||
|
ngx_log_debug0(NGX_LOG_DEBUG_HTTP, fc->log, 0,
|
||||||
|
"http2 process request body");
|
||||||
|
|
||||||
if (size) {
|
if (size) {
|
||||||
if (buf->sync) {
|
if (buf->sync) {
|
||||||
buf->pos = buf->start = pos;
|
buf->pos = buf->start = pos;
|
||||||
@ -4364,6 +4367,9 @@ ngx_http_v2_read_unbuffered_request_body(ngx_http_request_t *r)
|
|||||||
stream = r->stream;
|
stream = r->stream;
|
||||||
fc = r->connection;
|
fc = r->connection;
|
||||||
|
|
||||||
|
ngx_log_debug0(NGX_LOG_DEBUG_HTTP, fc->log, 0,
|
||||||
|
"http2 read unbuffered request body");
|
||||||
|
|
||||||
if (fc->read->timedout) {
|
if (fc->read->timedout) {
|
||||||
if (stream->recv_window) {
|
if (stream->recv_window) {
|
||||||
stream->skip_data = 1;
|
stream->skip_data = 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user