use Unicorn.listener_names method if available
commit7664144957b4916c76ec52132eaaa552a348de28
authorEric Wong <normalperson@yhbt.net>
Wed, 5 May 2010 00:01:37 +0000 (4 17:01 -0700)
committerEric Wong <normalperson@yhbt.net>
Wed, 5 May 2010 00:01:37 +0000 (4 17:01 -0700)
treef12dc2202c100a344e03314747bd95aa182943c6
parentc48b2ce337bddd5f0e7f0a6a21dfd7fc925f1e42
use Unicorn.listener_names method if available

This allows easier configuration when used with Unicorn and
derived servers (Rainbows! and Zbatery).
lib/raindrops/middleware.rb