Mercurial > hg > nginx-quic
diff src/http/ngx_http_spdy_filter_module.c @ 5576:2bc609a4b516
SPDY: fixed reversed priority order in window waiting queue.
author | Valentin Bartenev <vbart@nginx.com> |
---|---|
date | Wed, 12 Feb 2014 21:02:29 +0400 |
parents | 39d7eef2e332 |
children | b948f9c73111 |
line wrap: on
line diff
--- a/src/http/ngx_http_spdy_filter_module.c +++ b/src/http/ngx_http_spdy_filter_module.c @@ -967,7 +967,10 @@ ngx_http_spdy_waiting_queue(ngx_http_spd { s = ngx_queue_data(q, ngx_http_spdy_stream_t, queue); - if (s->priority >= stream->priority) { + /* + * NB: higher values represent lower priorities. + */ + if (stream->priority >= s->priority) { break; } }