aboutsummaryrefslogtreecommitdiffstats
path: root/src/cowboy_app.erl
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2011-03-19 19:51:44 +0100
committerLoïc Hoguin <[email protected]>2011-03-19 19:51:44 +0100
commitbd3a64631657b5095a2c22ea342c906c9c2aecae (patch)
tree3924aeec675dcf066675619b7cb10c86370600f7 /src/cowboy_app.erl
parenta4f8bb65739b8a3b102c244a5ef7e5aa6a9f38e4 (diff)
downloadcowboy-bd3a64631657b5095a2c22ea342c906c9c2aecae.tar.gz
cowboy-bd3a64631657b5095a2c22ea342c906c9c2aecae.tar.bz2
cowboy-bd3a64631657b5095a2c22ea342c906c9c2aecae.zip
Protect the calls to the handler using catch.
* Handler:init shouldn't reply anything; send an error 500. * Handler:handle may have sent something to the client; close the socket. * Handler:terminate failed to clean itself up. Close the socket.
Diffstat (limited to 'src/cowboy_app.erl')
0 files changed, 0 insertions, 0 deletions