aboutsummaryrefslogtreecommitdiffstats
path: root/src/cowboy_req.erl
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2017-11-27 13:42:04 +0100
committerLoïc Hoguin <[email protected]>2017-11-27 13:42:04 +0100
commitbc82679330ea027e311474ddb3d28c8da50e5544 (patch)
treea1130d695f926892de47977b9d54021af65b502a /src/cowboy_req.erl
parent843b104fcb75bcd217359a8b02d0b1f263d42602 (diff)
downloadcowboy-bc82679330ea027e311474ddb3d28c8da50e5544.tar.gz
cowboy-bc82679330ea027e311474ddb3d28c8da50e5544.tar.bz2
cowboy-bc82679330ea027e311474ddb3d28c8da50e5544.zip
Fix a few rfc7540 tests
Cowboy takes a few shortcuts to avoid wasting resources when there is a protocol error. The RFC wants us to send a different error depending on the state of the stream at the time of the error, and for us to maintain the connection in cases where we would have to spend valuable resources to decode headers. In all these cases Cowboy will simply close the connection with an appropriate error.
Diffstat (limited to 'src/cowboy_req.erl')
0 files changed, 0 insertions, 0 deletions