summaryrefslogtreecommitdiffhomepage
path: root/src/http/ngx_http_request.c
diff options
context:
space:
mode:
authorValentin Bartenev <vbart@nginx.com>2015-03-23 21:04:13 +0300
committerValentin Bartenev <vbart@nginx.com>2015-03-23 21:04:13 +0300
commit0e853129ac857bef8d8553a0f90156bb7bd22fb3 (patch)
tree3be8c738bad3636044aaf3e7ea73bf645534a66f /src/http/ngx_http_request.c
parent44586bf5ee34a56f877ab04dc79fed279e1d52cb (diff)
downloadnginx-0e853129ac857bef8d8553a0f90156bb7bd22fb3.tar.gz
nginx-0e853129ac857bef8d8553a0f90156bb7bd22fb3.tar.bz2
SPDY: always push pending data.
This helps to avoid suboptimal behavior when a client waits for a control frame or more data to increase window size, but the frames have been delayed in the socket buffer. The delays can be caused by bad interaction between Nagle's algorithm on nginx side and delayed ACK on the client side or by TCP_CORK/TCP_NOPUSH if SPDY was working without SSL and sendfile() was used. The pushing code is now very similar to ngx_http_set_keepalive().
Diffstat (limited to 'src/http/ngx_http_request.c')
0 files changed, 0 insertions, 0 deletions