diff options
author | Loïc Hoguin <[email protected]> | 2017-09-25 12:34:44 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2017-09-25 12:48:47 +0200 |
commit | c09b10190baaae37f4de8bc1732d79acca62b53d (patch) | |
tree | ac6372b69cd36e20330531361896a86632ac4ab7 /doc/src/guide/handlers.asciidoc | |
parent | a6126306a2b9e956c38b10e8cf1e60acdb4e63fe (diff) | |
download | cowboy-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 'doc/src/guide/handlers.asciidoc')
0 files changed, 0 insertions, 0 deletions