]> git.kaiwu.me - nginx.git/commit
SPDY: store the length of frame instead of its whole size.
authorValentin Bartenev <vbart@nginx.com>
Wed, 22 Jan 2014 00:58:19 +0000 (04:58 +0400)
committerValentin Bartenev <vbart@nginx.com>
Wed, 22 Jan 2014 00:58:19 +0000 (04:58 +0400)
commit3ddf9ccfce12454dfa456d3ef5c92f7472966ebf
tree80f04b004534ba2b879d6c49227d2f30816c72a4
parente62156d8292eb288ad456d6ba1eb96db7ce2a6b6
SPDY: store the length of frame instead of its whole size.

The "length" value better corresponds with the specification and reduces
confusion about whether frame's header is included in "size" or not.

Also this change simplifies some parts of code, since in more cases the
length of frame is more useful than its actual size, especially considering
that the size of frame header is constant.
src/http/ngx_http_spdy.c
src/http/ngx_http_spdy.h
src/http/ngx_http_spdy_filter_module.c