aboutsummaryrefslogtreecommitdiffstats
path: root/src/cowboy_clock.erl
diff options
context:
space:
mode:
authorJames Fish <[email protected]>2013-06-11 21:47:26 +0100
committerJames Fish <[email protected]>2013-07-05 22:45:18 +0100
commitf0cc2d01e64f489275821b56c7e4343e4aa5bf97 (patch)
tree32971aa12cfbf2c5675317c1499673d6542eeda1 /src/cowboy_clock.erl
parent116acaead7c988bf292bdae68e9016ef962553da (diff)
downloadcowboy-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 'src/cowboy_clock.erl')
0 files changed, 0 insertions, 0 deletions