construct listener_fds Hash in 1.8.6 compatible way
authorErnest W. Durbin III <ewdurbin@gmail.com>
Fri, 1 Nov 2013 14:12:33 +0000 (10:12 -0400)
committerEric Wong <normalperson@yhbt.net>
Fri, 1 Nov 2013 18:43:03 +0000 (18:43 +0000)
commit7e9e4c740aba24096f768f578779dc1053cb8b70
tree4d7b485df0ab5c202506b368ca9c444701ae5fab
parent03580a19afe5ce76323a7366b92243a94d445de1
construct listener_fds Hash in 1.8.6 compatible way

This renables the ability for Ruby 1.8.6 environments to perform reexecs

[ew: clarified this is for 1.8.6,
 favor literal {} over Hash.new,
 tweaked LISTENERS.map => LISTENERS.each, thanks to Hleb Valoshka
]

Signed-off-by: Eric Wong <normalperson@yhbt.net>
lib/unicorn/http_server.rb