]> git.kaiwu.me - nginx.git/commit
SPDY: push pending data while closing a stream as with keepalive.
authorValentin Bartenev <vbart@nginx.com>
Fri, 21 Nov 2014 19:51:49 +0000 (22:51 +0300)
committerValentin Bartenev <vbart@nginx.com>
Fri, 21 Nov 2014 19:51:49 +0000 (22:51 +0300)
commitdecaffa805938a76977c3290ade67968bcef558e
treed1bf472770c2513f2e223b330d76df47df3b0264
parent742b5dd04514024849447df3343ab00654fcaaac
SPDY: push pending data while closing a stream as with keepalive.

This helps to avoid delays in sending the last chunk of data because
of bad interaction between Nagle's algorithm on nginx side and
delayed ACK on the client side.

Delays could also be caused by TCP_CORK/TCP_NOPUSH if SPDY was
working without SSL and sendfile() was used.
src/http/ngx_http_spdy.c