Welcome! Log In Create A New Profile

Advanced

[nginx] svn commit: r5183 - trunk/src/http

Anonymous User
April 23, 2013 06:16AM
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) {

_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[nginx] svn commit: r5183 - trunk/src/http

Anonymous User 871 April 23, 2013 06:16AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 217
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready