Valentin Bartenev
September 30, 2013 04:42PM
details: http://hg.nginx.org/nginx/rev/db85dacfa013
branches:
changeset: 5404:db85dacfa013
user: Valentin Bartenev <vbart@nginx.com>
date: Tue Oct 01 00:12:30 2013 +0400
description:
SPDY: set empty write handler during connection finalization.

While ngx_http_spdy_write_handler() should not make any harm with current code,
calling it during finalization of SPDY connection was not intended.

diffstat:

src/http/ngx_http_spdy.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)

diffs (11 lines):

diff -r 7e062646da6f -r db85dacfa013 src/http/ngx_http_spdy.c
--- a/src/http/ngx_http_spdy.c Tue Oct 01 00:04:00 2013 +0400
+++ b/src/http/ngx_http_spdy.c Tue Oct 01 00:12:30 2013 +0400
@@ -2832,6 +2832,7 @@ ngx_http_spdy_finalize_connection(ngx_ht

c->error = 1;
c->read->handler = ngx_http_empty_handler;
+ c->write->handler = ngx_http_empty_handler;

sc->last_out = NULL;


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

[nginx] SPDY: set empty write handler during connection finaliza...

Valentin Bartenev 849 September 30, 2013 04:42PM



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

Online Users

Guests: 126
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