Mercurial > hg > nginx
comparison src/http/ngx_http_spdy_filter_module.c @ 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 | 701d6e17e42c |
children | 87ada3ba1392 |
comparison
equal
deleted
inserted
replaced
5813:11790b461a6f | 5814:a5886df87cbb |
---|---|
1139 return; | 1139 return; |
1140 } | 1140 } |
1141 | 1141 |
1142 wev = stream->request->connection->write; | 1142 wev = stream->request->connection->write; |
1143 | 1143 |
1144 /* | |
1145 * This timer can only be set if the stream was delayed because of rate | |
1146 * limit. In that case the event should be triggered by the timer. | |
1147 */ | |
1148 | |
1144 if (!wev->timer_set) { | 1149 if (!wev->timer_set) { |
1145 wev->delayed = 0; | 1150 wev->delayed = 0; |
1146 | 1151 |
1147 stream->handled = 1; | 1152 stream->handled = 1; |
1148 ngx_queue_insert_tail(&sc->posted, &stream->queue); | 1153 ngx_queue_insert_tail(&sc->posted, &stream->queue); |