]> git.kaiwu.me - nginx.git/commit
SPDY: elimination of r->blocked counter usage for queuing frames.
authorValentin Bartenev <vbart@nginx.com>
Tue, 14 Jan 2014 12:24:45 +0000 (16:24 +0400)
committerValentin Bartenev <vbart@nginx.com>
Tue, 14 Jan 2014 12:24:45 +0000 (16:24 +0400)
commitac8bb7a9e5bfbf466f165702053ab847f9815e12
tree1ca64e1c54238de01b5faeb3e4370ce1ffb9c9e6
parent6ddb578b2223f5a4b4fb7f555be8115a946471d0
SPDY: elimination of r->blocked counter usage for queuing frames.

It was used to prevent destroying of request object when there are unsent
frames in queue for the stream.  Since it was incremented for each frame
and is only 8 bits long, so it was not very hard to overflow the counter.

Now the stream->queued counter is checked instead.
src/http/ngx_http_spdy.c
src/http/ngx_http_spdy_filter_module.c