mirror of
https://github.com/nginx/nginx.git
synced 2024-12-12 02:09:04 +08:00
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.
This commit is contained in:
parent
e584341792
commit
670d42859d
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user