Welcome! Log In Create A New Profile

Advanced

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

Anonymous User
April 11, 2013 09:50AM
Author: pluknet
Date: 2013-04-11 13:49:13 +0000 (Thu, 11 Apr 2013)
New Revision: 5170
URL: http://trac.nginx.org/nginx/changeset/5170/nginx

Log:
Upstream: fixed $upstream_response_length without buffering.

Reported by Piotr Sikora.


Modified:
trunk/src/http/ngx_http_upstream.c

Modified: trunk/src/http/ngx_http_upstream.c
===================================================================
--- trunk/src/http/ngx_http_upstream.c 2013-04-10 17:07:44 UTC (rev 5169)
+++ trunk/src/http/ngx_http_upstream.c 2013-04-11 13:49:13 UTC (rev 5170)
@@ -3307,7 +3307,7 @@
u->state->response_sec = tp->sec - u->state->response_sec;
u->state->response_msec = tp->msec - u->state->response_msec;

- if (u->pipe) {
+ if (u->pipe && u->pipe->read_length) {
u->state->response_length = u->pipe->read_length;
}
}

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

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

Anonymous User 743 April 11, 2013 09:50AM



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

Online Users

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