Welcome! Log In Create A New Profile

Advanced

[nginx] SPDY: fixed parsing of the priority field.

Valentin Bartenev
February 04, 2014 09:34AM
details: http://hg.nginx.org/nginx/rev/60c4179f76ad
branches:
changeset: 5553:60c4179f76ad
user: Shigeki Ohtsu <ohtsu@iij.ad.jp>
date: Tue Feb 04 14:06:23 2014 +0900
description:
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.

diffstat:

src/http/ngx_http_spdy.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 02ec169f683f -r 60c4179f76ad src/http/ngx_http_spdy.c
--- a/src/http/ngx_http_spdy.c Tue Feb 04 07:45:33 2014 +0400
+++ b/src/http/ngx_http_spdy.c Tue Feb 04 14:06:23 2014 +0900
@@ -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;


_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[nginx] SPDY: fixed parsing of the priority field.

Valentin Bartenev 589 February 04, 2014 09:34AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 140
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready