http_server: explicitly disable close-on-exec for listeners
commit6d56d7ab891d2cb6127b4cba428a0f7c13b9d2ce
authorEric Wong <normalperson@yhbt.net>
Wed, 20 Jul 2011 22:42:16 +0000 (20 22:42 +0000)
committerEric Wong <normalperson@yhbt.net>
Wed, 20 Jul 2011 22:42:16 +0000 (20 22:42 +0000)
tree1f1f0d959904fa26df5b1b842692e2f4f4ef0feb
parent83f72773b7242d86263a18950fca7c8101d7038d
http_server: explicitly disable close-on-exec for listeners

Future versions of Ruby may change this from the default *nix
behavior, so we need to explicitly allow FD passing via exec().

ref: http://redmine.ruby-lang.org/issues/5041
lib/unicorn/http_server.rb