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