aboutsummaryrefslogtreecommitdiff
path: root/src/core/ngx_connection.c
diff options
context:
space:
mode:
authorValentin Bartenev <vbart@nginx.com>2013-07-24 22:24:25 +0400
committerValentin Bartenev <vbart@nginx.com>2013-07-24 22:24:25 +0400
commit32e167e211d17a92ab7beed3cc26a6fa785749f4 (patch)
tree4cf18ff9a5247e2e048575e71c0549c84335ab1b /src/core/ngx_connection.c
parent809d05769bfa02bb138b4476174cf7ba7b5287cc (diff)
downloadnginx-32e167e211d17a92ab7beed3cc26a6fa785749f4.tar.gz
nginx-32e167e211d17a92ab7beed3cc26a6fa785749f4.zip
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.
Diffstat (limited to 'src/core/ngx_connection.c')
0 files changed, 0 insertions, 0 deletions