From dbcb16ff685d26d0e941f735ffa507c48467df10 Mon Sep 17 00:00:00 2001 From: Valentin Bartenev Date: Mon, 18 Aug 2014 13:23:45 +0400 Subject: SPDY: added a comment about handling stream with the timer set. --- src/http/ngx_http_spdy_filter_module.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/http') 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; -- cgit