raindrops.git about / heads / tags real-time stats for preforking Rack servers
blob f02b48ff014975bc4603b0038cab795d11fa338f 219 bytes (raw) $ git show gc-next:test/ipv6_enabled.rb # shows this blob on the CLI
1 2 3 4 5 6 7 8 9
def ipv6_enabled? tmp = TCPServer.new(ENV["TEST_HOST6"] || '::1', 0) tmp.close true rescue => e warn "skipping IPv6 tests, host does not seem to be IPv6 enabled:" warn " #{e.class}: #{e}" false end
git clone https://yhbt.net/raindrops.git