]> 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)
commit32e167e211d17a92ab7beed3cc26a6fa785749f4
tree4cf18ff9a5247e2e048575e71c0549c84335ab1b
parent809d05769bfa02bb138b4476174cf7ba7b5287cc
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