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

Igor Sysoev igor at sysoev.ru
Sun Dec 6 12:37:19 MSK 2009


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

> 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 .

What is in error_log ?


-- 
Igor Sysoev
http://sysoev.ru/en/



More information about the nginx mailing list