unicorn 4.3.1 - shutdown() fixesv4.3.1
commitf4f2de4a526f3a88573f2f839e6865637c67dbe5
authorEric Wong <normalperson@yhbt.net>
Sun, 29 Apr 2012 07:00:48 +0000 (29 07:00 +0000)
committerEric Wong <normalperson@yhbt.net>
Sun, 29 Apr 2012 07:03:46 +0000 (29 07:03 +0000)
treeb39f6cbf6697ac9de087c7f4b734ab30ea6b593a
parent60b9275410277acc6adcf49a81c177c443d1d392
unicorn 4.3.1 - shutdown() fixes

* Call shutdown(2) if a client EOFs on us during upload.
  We can avoid holding a socket open if the Rack app forked a
  process during uploads.

* ignore potential Errno::ENOTCONN errors (from shutdown(2)).
  Even on LANs, connections can occasionally be accept()-ed but
  be unusable afterwards.

Thanks to Joel Nimety <jnimety@continuity.net>,
Matt Smith <matt@nearapogee.com> and George <lists@southernohio.net>
on the mongrel-unicorn@rubyforge.org mailing list for their
feedback and testing for this release.
GIT-VERSION-GEN
lib/unicorn/const.rb