diff options
author | Loïc Hoguin <[email protected]> | 2013-02-06 23:32:31 +0100 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2013-02-06 23:32:31 +0100 |
commit | ae401f7460664256de588d9a0bfee4c3b1560738 (patch) | |
tree | 42035aa85bd9def0a7a9f95931bf4bf8e4491219 /examples/rest_hello_world/src | |
parent | 1541e38d538fc713a71d82764830b0aee563be4b (diff) | |
download | cowboy-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/rest_hello_world/src')
0 files changed, 0 insertions, 0 deletions