aboutsummaryrefslogtreecommitdiffstats
path: root/erlang.mk
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2017-09-25 12:34:44 +0200
committerLoïc Hoguin <[email protected]>2017-09-25 12:48:47 +0200
commitc09b10190baaae37f4de8bc1732d79acca62b53d (patch)
treeac6372b69cd36e20330531361896a86632ac4ab7 /erlang.mk
parenta6126306a2b9e956c38b10e8cf1e60acdb4e63fe (diff)
downloadcowboy-c09b10190baaae37f4de8bc1732d79acca62b53d.tar.gz
cowboy-c09b10190baaae37f4de8bc1732d79acca62b53d.tar.bz2
cowboy-c09b10190baaae37f4de8bc1732d79acca62b53d.zip
Move body length count to cowboy_stream_h instead of protocols
The documentation was correct, the code was not. This should make it easier to implement new protocols. Note that for HTTP/2 we will need to add some form of counting later on to check for malformed requests, but we can do simpler and just reduce from the expected length and then check if that's 0 when IsFin=fin.
Diffstat (limited to 'erlang.mk')
0 files changed, 0 insertions, 0 deletions