Possible bug? https return truncated when use default proxy buffer size

Here is the problem I found out.

Front-End https Conf:
server {
listen 443;

location / {
proxy_pass http://backend;
proxy_set_header X-Forwarded-For
$proxy_add_x_forwarded_for;
proxy_set_header Host $http_host;
proxy_redirect off;
}

}

if use default proxy_buffer_size (not set it), when backend output
something bigger than 64k without content-length header. the frontend
https
will truncate the output to 64k.

After I set
proxy_buffer_size 1024 4k;

Everything works like normal. Using 0.8.29 .

On Sun, Dec 06, 2009 at 12:42:30PM +0800, tOmasEn wrote:

              proxy_set_header Host $http_host;

After I set
proxy_buffer_size 1024 4k;

Everything works like normal. Using 0.8.29 .

What is in error_log ?


Igor S.
http://sysoev.ru/en/

after reading error log. the reason apears to be Permission denied for
proxy_temp directory.

Sorry for your time.