middleware: add ipv6 address detection for Unicorn
commite10e520d47fa96cf549c7d544d6575baa8ed748a
authorEric Wong <normalperson@yhbt.net>
Wed, 16 Feb 2011 01:31:41 +0000 (16 01:31 +0000)
committerEric Wong <normalperson@yhbt.net>
Wed, 16 Feb 2011 01:35:40 +0000 (15 17:35 -0800)
treef05d6128cf2ea7173d70e1ad0205580a7df8c28a
parente5faa4da78af196ee5abbccf197671fd8e77adad
middleware: add ipv6 address detection for Unicorn

Since Unicorn and Rainbows! support IPv6 now, it makes sense to
support the rfc2732-style addresses it returns.
lib/raindrops/middleware.rb
test/test_middleware_unicorn.rb [new file with mode: 0644]
test/test_middleware_unicorn_ipv6.rb [new file with mode: 0644]