# HG changeset patch # User Valentin Bartenev # Date 1366712149 0 # Node ID 7a015bbda96f01699f7eabccedb41f7963b5ba7e # Parent 4d0ac175f6e467ba1fac55d7c03ba9b3874af987 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. diff --git a/src/http/ngx_http_spdy.c b/src/http/ngx_http_spdy.c --- 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_spd 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) {