diff options
| author | Valentin Bartenev <vbart@nginx.com> | 2014-03-28 20:22:57 +0400 |
|---|---|---|
| committer | Valentin Bartenev <vbart@nginx.com> | 2014-03-28 20:22:57 +0400 |
| commit | ac5a3cbeee718850a8eba8b601d8827d649de201 (patch) | |
| tree | 96dcfd1c760d038c1f042a4e8fb5155ff067cb2e /src/core/ngx_slab.c | |
| parent | afb92a8127d30e7c4ff6387a9b9761924b134940 (diff) | |
| download | nginx-ac5a3cbeee718850a8eba8b601d8827d649de201.tar.gz nginx-ac5a3cbeee718850a8eba8b601d8827d649de201.tar.bz2 | |
SPDY: detect premature closing of stream.
The SPDY/3.1 specification requires that the server must respond with
a 400 "Bad request" error if the sum of the data frame payload lengths
does not equal the size of the Content-Length header.
This also fixes "zero size buf in output" alert, that might be triggered
if client sends a greater than zero Content-Length header and closes
stream using the FIN flag with an empty request body.
Diffstat (limited to 'src/core/ngx_slab.c')
0 files changed, 0 insertions, 0 deletions
