]> git.kaiwu.me - nginx.git/commitdiff
SPDY: added a comment about handling stream with the timer set.
authorValentin Bartenev <vbart@nginx.com>
Mon, 18 Aug 2014 09:23:45 +0000 (13:23 +0400)
committerValentin Bartenev <vbart@nginx.com>
Mon, 18 Aug 2014 09:23:45 +0000 (13:23 +0400)
src/http/ngx_http_spdy_filter_module.c

index 82405d9a1eed38f1fe2e0f18f9d049b8bccbb124..d1406a665b003c688885ca61ee7819a450d62ccd 100644 (file)
@@ -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;