aboutsummaryrefslogtreecommitdiffstats
path: root/src/cowboy_app.erl
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2011-04-03 01:44:52 +0200
committerLoïc Hoguin <[email protected]>2011-04-03 01:44:52 +0200
commitccf7a242b4899c70595ff8fa9e531cf3bea6e0e1 (patch)
tree67a237b0cf41a42de3af871094fef57baf85dd67 /src/cowboy_app.erl
parent718baffa3c8cc033e06d824a7f47bc65c9b5cd74 (diff)
downloadcowboy-ccf7a242b4899c70595ff8fa9e531cf3bea6e0e1.tar.gz
cowboy-ccf7a242b4899c70595ff8fa9e531cf3bea6e0e1.tar.bz2
cowboy-ccf7a242b4899c70595ff8fa9e531cf3bea6e0e1.zip
Ensure the listening socket gets closed with the listener supervisor.
Moved the Transport:listen call to cowboy_acceptors_sup. This make it depend on a child of cowboy_listener_sup instead of cowboy_sup, which isn't getting shut down when calling cowboy:stop_listener/1 and thus didn't close the listening socket.
Diffstat (limited to 'src/cowboy_app.erl')
0 files changed, 0 insertions, 0 deletions