# HG changeset patch # User Valentin Bartenev # Date 1408353825 -14400 # Node ID a5886df87cbb446aae69a9ee7e48a1e0c3c924f7 # Parent 11790b461a6ffbff37a283d0a0f4219c9af35e11 SPDY: added a comment about handling stream with the timer set. diff --git a/src/http/ngx_http_spdy_filter_module.c b/src/http/ngx_http_spdy_filter_module.c --- 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_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;