]> 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)
commit4dafec8d514a685f1da0d097f53313b53e0c759a
treeceb7ebc9fac4d27582e8d35c44aba2863fdf50dd
parent1f9564223bc8073e08537526dfdfbb8b5087a5a3
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