Dealing with buffered data with upstream generated response
usirsiwal at verivue.com
Fri Dec 2 18:39:15 UTC 2011
On 12/02/2011 12:02 PM, Maxim Dounin wrote:
> On Fri, Dec 02, 2011 at 11:13:15AM -0500, Umesh Sirsiwal wrote:
>> Hey Maxim,
>> I spent some time yesterday and today trying to reproduce this issue
>> with standard gzip module. But, unfortunately I could not. May be I
>> am doing something wrong in my module.
>> My configuration looked like the following. I was using nginx
>> version 1.1.10.
>> proxy_buffering on;
> The code in question isn't executed with proxy_buffering set to
> on, it's only in "proxy_buffering off" codepath.
Ouch! I changed it to "proxy_buffering off" and retrieved 10MB file in a
loop over and over again. Still can't reproduce it. Looking at netstat
output I can see lots of data sitting in the socket buffer.
I did notice that the limit_rate directive does not work with
More information about the nginx