# HG changeset patch # User Shigeki Ohtsu # Date 1391490383 -32400 # Node ID 60c4179f76adb7ecd9ee5b8cc7f231f2979ac90d # Parent 02ec169f683f090902eef1df95903ef3b8558c12 SPDY: fixed parsing of the priority field. The size of the priority field is increased by one bit in spdy/3, and now it's a 3-bit field followed by 5 bits of unused space. But a shift of these bits hasn't been adjusted in 39d7eef2e332 accordingly. diff --git a/src/http/ngx_http_spdy.c b/src/http/ngx_http_spdy.c --- a/src/http/ngx_http_spdy.c +++ b/src/http/ngx_http_spdy.c @@ -902,7 +902,7 @@ ngx_http_spdy_state_syn_stream(ngx_http_ sc->length -= NGX_SPDY_SYN_STREAM_SIZE; sid = ngx_spdy_frame_parse_sid(pos); - prio = pos[8] >> 6; + prio = pos[8] >> 5; pos += NGX_SPDY_SYN_STREAM_SIZE;