diff options
author | James Fish <[email protected]> | 2013-06-11 21:47:26 +0100 |
---|---|---|
committer | James Fish <[email protected]> | 2013-07-05 22:45:18 +0100 |
commit | f0cc2d01e64f489275821b56c7e4343e4aa5bf97 (patch) | |
tree | 32971aa12cfbf2c5675317c1499673d6542eeda1 /examples/hello_world | |
parent | 116acaead7c988bf292bdae68e9016ef962553da (diff) | |
download | cowboy-f0cc2d01e64f489275821b56c7e4343e4aa5bf97.tar.gz cowboy-f0cc2d01e64f489275821b56c7e4343e4aa5bf97.tar.bz2 cowboy-f0cc2d01e64f489275821b56c7e4343e4aa5bf97.zip |
Fix decoding of chunked body.
Previously cowboy_http:te_chunked/2 would enter an incorrect state if
it tried to parse an incomplete chunk when the length was known from the
partial chunk.
Previosuly cowboy_http:te_chunked/2 expected the trailing "\r\n" to
always be present if chunk body was present in the buffer. This is not
guaranteed and so this commit accommodates that situation.
Diffstat (limited to 'examples/hello_world')
0 files changed, 0 insertions, 0 deletions