Welcome! Log In Create A New Profile

Advanced

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

Anonymous User
December 26, 2011 05:50AM
Author: mdounin
Date: 2011-12-26 10:49:57 +0000 (Mon, 26 Dec 2011)
New Revision: 4384

Log:
Fixed throughput problems with large limit_rate.

Previous attempt to fix this was in r1658 (0.6.18), though that one wasn't
enough (it was a noop).


Modified:
trunk/src/http/ngx_http_write_filter_module.c

Modified: trunk/src/http/ngx_http_write_filter_module.c
===================================================================
--- trunk/src/http/ngx_http_write_filter_module.c 2011-12-26 10:49:03 UTC (rev 4383)
+++ trunk/src/http/ngx_http_write_filter_module.c 2011-12-26 10:49:57 UTC (rev 4384)
@@ -262,7 +262,7 @@
}
}

- delay = (ngx_msec_t) ((nsent - sent) * 1000 / r->limit_rate + 1);
+ delay = (ngx_msec_t) ((nsent - sent) * 1000 / r->limit_rate);

if (delay > 0) {
c->write->delayed = 1;

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

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

Anonymous User 1304 December 26, 2011 05:50AM



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

Online Users

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