commit | 32e167e211d17a92ab7beed3cc26a6fa785749f4 | [log] [tgz] |
---|---|---|
author | Valentin Bartenev <vbart@nginx.com> | Wed Jul 24 22:24:25 2013 +0400 |
committer | Valentin Bartenev <vbart@nginx.com> | Wed Jul 24 22:24:25 2013 +0400 |
tree | 4cf18ff9a5247e2e048575e71c0549c84335ab1b | |
parent | 809d05769bfa02bb138b4476174cf7ba7b5287cc [diff] |
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.