Skip to content

Commit

Permalink
Fix #1986. Fix #1994
Browse files Browse the repository at this point in the history
  • Loading branch information
nateberkopec committed Oct 1, 2019
1 parent 69412b1 commit ca9e244
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/puma/binder.rb
Expand Up @@ -105,6 +105,7 @@ def parse(binds, logger)
io = add_tcp_listener uri.host, uri.port, opt, bak

@ios.each do |i|
next unless TCPServer === i
addr = if i.local_address.ipv6?
"[#{i.local_address.ip_unpack[0]}]:#{i.local_address.ip_unpack[1]}"
else
Expand Down

0 comments on commit ca9e244

Please sign in to comment.