Mercurial > hg > nginx
comparison src/http/ngx_http_spdy.c @ 5182:7a015bbda96f
SPDY: set NGX_TCP_NODELAY_DISABLED for fake connections.
This is to avoid setting the TCP_NODELAY flag on SPDY socket in
ngx_http_upstream_send_response(). The latter works per request,
but in SPDY case it might affect other streams in connection.
author | Valentin Bartenev <vbart@nginx.com> |
---|---|
date | Tue, 23 Apr 2013 10:15:49 +0000 |
parents | c0f7b94e88ba |
children | 15a7deeaa19a bd91997a1117 |
comparison
equal
deleted
inserted
replaced
5181:4d0ac175f6e4 | 5182:7a015bbda96f |
---|---|
1828 fc->write = wev; | 1828 fc->write = wev; |
1829 fc->sent = 0; | 1829 fc->sent = 0; |
1830 fc->log = log; | 1830 fc->log = log; |
1831 fc->buffered = 0; | 1831 fc->buffered = 0; |
1832 fc->sndlowat = 1; | 1832 fc->sndlowat = 1; |
1833 fc->tcp_nodelay = NGX_TCP_NODELAY_DISABLED; | |
1833 | 1834 |
1834 r = ngx_http_create_request(fc); | 1835 r = ngx_http_create_request(fc); |
1835 if (r == NULL) { | 1836 if (r == NULL) { |
1836 return NULL; | 1837 return NULL; |
1837 } | 1838 } |