Welcome! Log In Create A New Profile

Advanced

[nginx] svn commit: r4667 - in branches/stable-1.2: . src/http

Anonymous User
June 04, 2012 07:16AM
Author: mdounin
Date: 2012-06-04 11:15:46 +0000 (Mon, 04 Jun 2012)
New Revision: 4667
URL: http://trac.nginx.org/nginx/changeset/4667/nginx

Log:
Merge of r4621, r4641: filter_finalize fixes.

*) Fixed possible request hang with filter finalization.

With r->filter_finalize set the ngx_http_finalize_connection() wasn't
called from ngx_http_finalize_request() called with NGX_OK, resulting in
r->main->count not being decremented, thus causing request hang in some
rare situations.

Patch by Yichun Zhang (agentzh).

*) Fixed segfault with filter_finalize introduced in r4621 (1.3.0).

See the following thread for more details:
http://mailman.nginx.org/pipermail/nginx-devel/2012-May/002190.html


Modified:
branches/stable-1.2/
branches/stable-1.2/src/http/ngx_http_request.c

Index: branches/stable-1.2
===================================================================
--- branches/stable-1.2 2012-06-04 11:10:36 UTC (rev 4666)
+++ branches/stable-1.2 2012-06-04 11:15:46 UTC (rev 4667)

Property changes on: branches/stable-1.2
___________________________________________________________________
Modified: svn:mergeinfo
## -1 +1 ##
-/trunk:4611-4613,4615-4620
+/trunk:4611-4613,4615-4621,4641
\ No newline at end of property
Modified: branches/stable-1.2/src/http/ngx_http_request.c
===================================================================
--- branches/stable-1.2/src/http/ngx_http_request.c 2012-06-04 11:10:36 UTC (rev 4666)
+++ branches/stable-1.2/src/http/ngx_http_request.c 2012-06-04 11:15:46 UTC (rev 4667)
@@ -1933,7 +1933,6 @@

if (rc == NGX_OK && r->filter_finalize) {
c->error = 1;
- return;
}

if (rc == NGX_DECLINED) {

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

[nginx] svn commit: r4667 - in branches/stable-1.2: . src/http

Anonymous User 929 June 04, 2012 07:16AM



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

Online Users

Guests: 228
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready