diff options
author | Loïc Hoguin <[email protected]> | 2011-04-07 00:54:32 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2011-04-07 00:54:32 +0200 |
commit | 0fad6c6fde3ec12ef6b3cf59a3acb42d1c4c7d6b (patch) | |
tree | c82322567c758d23c388fbfa3e671cdcef349292 /src/cowboy_acceptor.erl | |
parent | d8a2fcf258189fc42e6b73e77c8ebf2cd52a75c9 (diff) | |
download | cowboy-0fad6c6fde3ec12ef6b3cf59a3acb42d1c4c7d6b.tar.gz cowboy-0fad6c6fde3ec12ef6b3cf59a3acb42d1c4c7d6b.tar.bz2 cowboy-0fad6c6fde3ec12ef6b3cf59a3acb42d1c4c7d6b.zip |
Don't crash on errors while receiving headers; throw an error 500 instead.
The server shouldn't crash the request process when we have an error
while receiving headers. A case where this could happen is if the header
line is too long.
See also bfrog's report on ticket #3 on github.
Diffstat (limited to 'src/cowboy_acceptor.erl')
0 files changed, 0 insertions, 0 deletions