wconrad/ftpd — pull request #25 by joshua-rutherford (2014-05-19 18:25:49+00:00)
Title: Handle shutdowns niclely in ruby 2.1.2

Ruby 2.1.2 seems to raise a Errno::ENOTSOCK instead of Errno::EBADF if a socket is closed while another thread is listening.