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
+++ 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;