aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorValentin Bartenev <vbart@nginx.com>2014-08-18 13:23:45 +0400
committerValentin Bartenev <vbart@nginx.com>2014-08-18 13:23:45 +0400
commitdbcb16ff685d26d0e941f735ffa507c48467df10 (patch)
tree77179d1a99560076b03eaf54b94f4e75cf4eb66c /src
parentc425f19daa48e00bc0d84d0e22eb1452bf3e9901 (diff)
downloadnginx-dbcb16ff685d26d0e941f735ffa507c48467df10.tar.gz
nginx-dbcb16ff685d26d0e941f735ffa507c48467df10.zip
SPDY: added a comment about handling stream with the timer set.
Diffstat (limited to 'src')
-rw-r--r--src/http/ngx_http_spdy_filter_module.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/http/ngx_http_spdy_filter_module.c b/src/http/ngx_http_spdy_filter_module.c
index 82405d9a1..d1406a665 100644
--- a/src/http/ngx_http_spdy_filter_module.c
+++ b/src/http/ngx_http_spdy_filter_module.c
@@ -1141,6 +1141,11 @@ ngx_http_spdy_handle_stream(ngx_http_spdy_connection_t *sc,
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;