aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2013-02-06 23:32:31 +0100
committerLoïc Hoguin <[email protected]>2013-02-06 23:32:31 +0100
commitae401f7460664256de588d9a0bfee4c3b1560738 (patch)
tree42035aa85bd9def0a7a9f95931bf4bf8e4491219 /examples
parent1541e38d538fc713a71d82764830b0aee563be4b (diff)
downloadcowboy-ae401f7460664256de588d9a0bfee4c3b1560738.tar.gz
cowboy-ae401f7460664256de588d9a0bfee4c3b1560738.tar.bz2
cowboy-ae401f7460664256de588d9a0bfee4c3b1560738.zip
Fix crashes when creating the request
We now obtain the peer address before creating the Req object. If an error occurs, then something went wrong, we close the connection nicely directly.
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions