celluloid / reel

UNMAINTAINED: See celluloid/celluloid#779 - Celluloid::IO-powered web server
https://celluloid.io
MIT License
596 stars 87 forks source link

Catch Errno::EADDRINUSE if host & port already bound. #52

Open digitalextremist opened 11 years ago

digitalextremist commented 11 years ago

Both within a supervised Rack::Handler and as a standalone Reel application, catch Errno::EADDRINUSE and gracefully exit. As it stands, even using exit, exit! and the like seems to be ignored for some reason.