]> git.kaiwu.me - nginx.git/commit
SPDY: fixed segfault with "client_body_in_file_only" enabled.
authorValentin Bartenev <vbart@nginx.com>
Wed, 24 Jul 2013 18:24:25 +0000 (22:24 +0400)
committerValentin Bartenev <vbart@nginx.com>
Wed, 24 Jul 2013 18:24:25 +0000 (22:24 +0400)
commit6f05c095a885b8834df0b5c2310e8dd528187a5a
tree933a4c9d2236a498e2c474c32fdbddcdc1610876
parentc32e9ab9547206da00295e0a4c72656c42b60129
SPDY: fixed segfault with "client_body_in_file_only" enabled.

It is possible to send FLAG_FIN in additional empty data frame, even if it is
known from the content-length header that request body is empty.  And Firefox
actually behaves like this (see ticket #357).

To simplify code we sacrificed our microoptimization that did not work right
due to missing check in the ngx_http_spdy_state_data() function for rb->buf
set to NULL.
src/http/ngx_http_spdy.c