|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|
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 'test')
0 files changed, 0 insertions, 0 deletions