diff options
author | Igor Sysoev <igor@sysoev.ru> | 2007-01-15 16:00:51 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2007-01-15 16:00:51 +0000 |
commit | 4502bf57b346d95698def5892beb58ba9f78e582 (patch) | |
tree | 9e45c83b71583fe5697d6e8465da38cf7fb506aa /src/http/modules/ngx_http_fastcgi_module.c | |
parent | ec3cabdcd959952905a6429637684a03f81de4b5 (diff) | |
download | nginx-4502bf57b346d95698def5892beb58ba9f78e582.tar.gz nginx-4502bf57b346d95698def5892beb58ba9f78e582.zip |
add debug logging for FastCGI zero size buf alert
Diffstat (limited to 'src/http/modules/ngx_http_fastcgi_module.c')
-rw-r--r-- | src/http/modules/ngx_http_fastcgi_module.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/http/modules/ngx_http_fastcgi_module.c b/src/http/modules/ngx_http_fastcgi_module.c index ab214770e..3791b3e14 100644 --- a/src/http/modules/ngx_http_fastcgi_module.c +++ b/src/http/modules/ngx_http_fastcgi_module.c @@ -1310,6 +1310,9 @@ ngx_http_fastcgi_input_filter(ngx_event_pipe_t *p, ngx_buf_t *buf) ngx_log_debug1(NGX_LOG_DEBUG_EVENT, p->log, 0, "input buf #%d", b->num); + ngx_log_debug2(NGX_LOG_DEBUG_EVENT, p->log, 0, + "input buf %p %z", b->pos, b->last - b->pos); + if (f->pos + f->length < f->last) { @@ -1350,6 +1353,9 @@ ngx_http_fastcgi_input_filter(ngx_event_pipe_t *p, ngx_buf_t *buf) b->shadow = buf; b->last_shadow = 1; + ngx_log_debug2(NGX_LOG_DEBUG_EVENT, p->log, 0, + "input buf last %p %z", b->pos, b->last - b->pos); + return NGX_OK; } |