On Fri, Nov 1, 2013 at 1:46 PM, Hleb Valoshka <[email protected]> wrote: > On 11/1/13, Ernest W. Durbin III <[email protected]> wrote: > >> + LISTENERS.map do |sock| > > You mean LISTENERS.each, aren't you? :) >
the call has been to `LISTENERS.map` as far back in the history of lib/unicorn/http_server.rb as i could find. >> # IO#close_on_exec= will be available on any future version of >> # Ruby that sets FD_CLOEXEC by default on new file descriptors >> # ref: http://redmine.ruby-lang.org/issues/5041 >> sock.close_on_exec = false if sock.respond_to?(:close_on_exec=) >> - [ sock.fileno, sock ] >> - end] >> + listener_fds[sock.fileno] = sock >> + end > _______________________________________________ > Unicorn mailing list - [email protected] > http://rubyforge.org/mailman/listinfo/mongrel-unicorn > Do not quote signatures (like this one) or top post when replying _______________________________________________ Unicorn mailing list - [email protected] http://rubyforge.org/mailman/listinfo/mongrel-unicorn Do not quote signatures (like this one) or top post when replying
