diff options
| author | Igor Sysoev <igor@sysoev.ru> | 2007-07-08 09:18:06 +0000 |
|---|---|---|
| committer | Igor Sysoev <igor@sysoev.ru> | 2007-07-08 09:18:06 +0000 |
| commit | de0798520866f28ae8004bd83b8041217ed1633e (patch) | |
| tree | bb66888f8cd8fb8ef062a9ae8a62c8cddf5401cf | |
| parent | 4bbe5ee871a0e4681bdf7ac8a13555f29834bbb8 (diff) | |
| download | nginx-de0798520866f28ae8004bd83b8041217ed1633e.tar.gz nginx-de0798520866f28ae8004bd83b8041217ed1633e.tar.bz2 | |
r1273 merge:
when the FastCGI header was split in records,
nginx passed garbage in the header to a client
| -rw-r--r-- | src/http/modules/ngx_http_fastcgi_module.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http/modules/ngx_http_fastcgi_module.c b/src/http/modules/ngx_http_fastcgi_module.c index 6daf6ce39..4263ea1ed 100644 --- a/src/http/modules/ngx_http_fastcgi_module.c +++ b/src/http/modules/ngx_http_fastcgi_module.c @@ -1144,7 +1144,7 @@ ngx_http_fastcgi_process_header(ngx_http_request_t *r) return NGX_OK; } - if (u->buffer.pos == u->buffer.last) { + if (rc == NGX_OK && u->buffer.pos == u->buffer.last) { return NGX_AGAIN; } |
