]> git.kaiwu.me - nginx.git/commit
SPDY: fixed possible premature close of stream.
authorValentin Bartenev <vbart@nginx.com>
Tue, 14 Jan 2014 12:24:45 +0000 (16:24 +0400)
committerValentin Bartenev <vbart@nginx.com>
Tue, 14 Jan 2014 12:24:45 +0000 (16:24 +0400)
commit3d5f501adceb59d7ca1b07b6bda7668786843534
treea23dd06ecad0da06985457f33f92850c6f3c4559
parent1c56e1873387be5367737b831eba8f6b927262ba
SPDY: fixed possible premature close of stream.

The "delayed" flag always should be set if there are unsent frames,
but this might not be the case if ngx_http_spdy_body_filter() was
called with NULL chain.

As a result, the "send_timeout" timer could be set on a stream in
ngx_http_writer().  And if the timeout occurred before all the stream
data has been sent, then the request was finalized with the "client
timed out" error.
src/http/ngx_http_spdy_filter_module.c