configurator: add :ipv6only directive
commitc3880bb0cc00821d1715a7dd94b0b76a03a7ace0
authorEric Wong <normalperson@yhbt.net>
Tue, 7 Jun 2011 20:54:18 +0000 (7 13:54 -0700)
committerEric Wong <normalperson@yhbt.net>
Tue, 7 Jun 2011 21:01:09 +0000 (7 14:01 -0700)
treedee85ce7f218d0ce4e0232dc9f845f51c59a62ef
parent0dc56fd03ea478ae054e3d0398703f43e017723b
configurator: add :ipv6only directive

Enabling this flag for an IPv6 TCP listener allows users to
specify IPv6-only listeners regardless of the OS default.
This should be interest to Rainbows! users.
lib/unicorn/configurator.rb
lib/unicorn/http_server.rb
lib/unicorn/socket_helper.rb
test/unit/test_socket_helper.rb