diff options
Diffstat (limited to 'lib/yahns/rackup_handler.rb')
-rw-r--r-- | lib/yahns/rackup_handler.rb | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/yahns/rackup_handler.rb b/lib/yahns/rackup_handler.rb index 538e00d..63ab373 100644 --- a/lib/yahns/rackup_handler.rb +++ b/lib/yahns/rackup_handler.rb @@ -19,11 +19,7 @@ module Yahns::RackupHandler # :nodoc: app(:rack, app) do addr = o[:listen] || "#{o[:Host]||default_host}:#{o[:Port]||8080}" # allow listening to multiple addresses - if addr.include?(',') - addr.split(',').each { |l| listen(l) } - else - listen addr - end + addr.split(',').each { |l| listen(l) } val = o[:client_timeout] and client_timeout(val) end |