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