| commit | 3d5f501adceb59d7ca1b07b6bda7668786843534 | [log] [tgz] |
|---|---|---|
| author | Valentin Bartenev <vbart@nginx.com> | Tue Jan 14 16:24:45 2014 +0400 |
| committer | Valentin Bartenev <vbart@nginx.com> | Tue Jan 14 16:24:45 2014 +0400 |
| tree | a23dd06ecad0da06985457f33f92850c6f3c4559 | |
| parent | 1c56e1873387be5367737b831eba8f6b927262ba [diff] |
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.