comparison src/http/ngx_http_spdy.h @ 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 34d460c5d186
comparison
equal deleted inserted replaced
5575:d15822784cf9 5576:2bc609a4b516
172 { 172 {
173 ngx_http_spdy_out_frame_t **out; 173 ngx_http_spdy_out_frame_t **out;
174 174
175 for (out = &sc->last_out; *out; out = &(*out)->next) 175 for (out = &sc->last_out; *out; out = &(*out)->next)
176 { 176 {
177 /*
178 * NB: higher values represent lower priorities.
179 */
177 if (frame->priority >= (*out)->priority) { 180 if (frame->priority >= (*out)->priority) {
178 break; 181 break;
179 } 182 }
180 } 183 }
181 184