[nginx] SPDY: added a comment about handling stream with the tim...
Valentin Bartenev
vbart at nginx.com
Wed Aug 27 16:47:13 UTC 2014
details: http://hg.nginx.org/nginx/rev/a5886df87cbb
branches:
changeset: 5814:a5886df87cbb
user: Valentin Bartenev <vbart at nginx.com>
date: Mon Aug 18 13:23:45 2014 +0400
description:
SPDY: added a comment about handling stream with the timer set.
diffstat:
src/http/ngx_http_spdy_filter_module.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diffs (15 lines):
diff -r 11790b461a6f -r a5886df87cbb src/http/ngx_http_spdy_filter_module.c
--- a/src/http/ngx_http_spdy_filter_module.c Wed Aug 27 20:44:11 2014 +0400
+++ b/src/http/ngx_http_spdy_filter_module.c Mon Aug 18 13:23:45 2014 +0400
@@ -1141,6 +1141,11 @@ ngx_http_spdy_handle_stream(ngx_http_spd
wev = stream->request->connection->write;
+ /*
+ * This timer can only be set if the stream was delayed because of rate
+ * limit. In that case the event should be triggered by the timer.
+ */
+
if (!wev->timer_set) {
wev->delayed = 0;
More information about the nginx-devel
mailing list