avoid IO_PURGATORY on Ruby 1.9+
authorEric Wong <e@80x24.org>
Fri, 25 Oct 2013 19:45:15 +0000 (19:45 +0000)
committerEric Wong <normalperson@yhbt.net>
Fri, 25 Oct 2013 20:00:41 +0000 (20:00 +0000)
commite025cd99beee500f175a3bcc302a1307b39ffb77
treedb0db4fc4f8224d98681f76a0bf8c99eaa4d284d
parent7c125886b5862bf20711bae22e6697ad46141434
avoid IO_PURGATORY on Ruby 1.9+

Ruby 1.9 and later includes IO#autoclose=, so we can use it
and prevent some dead IO objects from hanging around.
lib/unicorn/http_server.rb
lib/unicorn/socket_helper.rb