[nginx] svn commit: r5183 - trunk/src/http
vbart at nginx.com
vbart at nginx.com
Tue Apr 23 10:15:50 UTC 2013
Author: vbart
Date: 2013-04-23 10:15:49 +0000 (Tue, 23 Apr 2013)
New Revision: 5183
URL: http://trac.nginx.org/nginx/changeset/5183/nginx
Log:
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.
Modified:
trunk/src/http/ngx_http_spdy.c
Modified: trunk/src/http/ngx_http_spdy.c
===================================================================
--- trunk/src/http/ngx_http_spdy.c 2013-04-23 10:04:12 UTC (rev 5182)
+++ trunk/src/http/ngx_http_spdy.c 2013-04-23 10:15:49 UTC (rev 5183)
@@ -1830,6 +1830,7 @@
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) {
More information about the nginx-devel
mailing list