Mercurial > hg > nginx
changeset 5814:a5886df87cbb
SPDY: added a comment about handling stream with the timer set.
author | Valentin Bartenev <vbart@nginx.com> |
---|---|
date | Mon, 18 Aug 2014 13:23:45 +0400 |
parents | 11790b461a6f |
children | 6c99c5f00fc9 |
files | src/http/ngx_http_spdy_filter_module.c |
diffstat | 1 files changed, 5 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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 @@ 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;