aboutsummaryrefslogtreecommitdiffstats
path: root/src/cowboy_acceptor.erl
AgeCommit message (Collapse)Author
2011-03-17Don't crash on Transport:controlling_process return in the acceptor.Loïc Hoguin
Crashes can happen if we close the connection too fast, leading to controlling_process returning {error, closed} instead of ok. This can happen when we receive bad requests, reply with 404 Not Found and more. Simply do not match the return value of controlling_process to avoid this.
2011-03-17Initial commit.Loïc Hoguin