[PATCH] Mark HTTP chunk terminator to be flushed

Maxim Dounin mdounin at mdounin.ru
Wed Nov 20 10:40:48 UTC 2013


Hello!

On Wed, Nov 20, 2013 at 12:50:00AM -0800, John Watson wrote:

> This really only affects SSL connections, where if the buffer with
> chunk terminator is copied into the SSL buffer by itself. Since the
> new SSL buffer has not reached 16k, it's not flushed thus causing a
> delay in the client seeing it.

I don't think that unconditionally setting flush flag is a good 
idea, it will cause unneeded work if a flush isn't needed.

It may make sense to set it (or move?) if previous buffer has it 
set though.

-- 
Maxim Dounin
http://nginx.org/en/donation.html



More information about the nginx mailing list