diff options
author | Valentin Bartenev <vbart@nginx.com> | 2013-04-23 10:15:49 +0000 |
---|---|---|
committer | Valentin Bartenev <vbart@nginx.com> | 2013-04-23 10:15:49 +0000 |
commit | 670d42859d34a71c4d22ce25045e744e04bf04d2 (patch) | |
tree | 70d466044583f66b27cb5e1099f6b487ff2f95e5 /src | |
parent | e584341792eab4b3b35277c14c0acd93eee75688 (diff) | |
download | nginx-670d42859d34a71c4d22ce25045e744e04bf04d2.tar.gz nginx-670d42859d34a71c4d22ce25045e744e04bf04d2.zip |
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.
Diffstat (limited to 'src')
-rw-r--r-- | src/http/ngx_http_spdy.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/http/ngx_http_spdy.c b/src/http/ngx_http_spdy.c index 0e6fe9281..3febc23e9 100644 --- a/src/http/ngx_http_spdy.c +++ b/src/http/ngx_http_spdy.c @@ -1830,6 +1830,7 @@ ngx_http_spdy_create_stream(ngx_http_spdy_connection_t *sc, ngx_uint_t id, fc->log = log; fc->buffered = 0; fc->sndlowat = 1; + fc->tcp_nodelay = NGX_TCP_NODELAY_DISABLED; r = ngx_http_create_request(fc); if (r == NULL) { |