mirror of
https://github.com/puma/puma.git
synced 2022-11-09 13:48:40 -05:00
win32 doesn't like binding to 0.0.0.0
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@250 19e92222-5c0b-0410-8929-a290d50e31e9
This commit is contained in:
parent
9c659576fa
commit
217b2e746b
1 changed files with 3 additions and 3 deletions
|
@ -4,12 +4,12 @@ require 'net/http'
|
||||||
require 'uri'
|
require 'uri'
|
||||||
require 'timeout'
|
require 'timeout'
|
||||||
|
|
||||||
class TC_RedirectHandler < Test::Unit::TestCase
|
class RedirectHandlerTest < Test::Unit::TestCase
|
||||||
|
|
||||||
def setup
|
def setup
|
||||||
@server = Mongrel::HttpServer.new('0.0.0.0', 9998)
|
@server = Mongrel::HttpServer.new('127.0.0.1', 9998)
|
||||||
@server.run
|
@server.run
|
||||||
@client = Net::HTTP.new('0.0.0.0', 9998)
|
@client = Net::HTTP.new('127.0.0.1', 9998)
|
||||||
end
|
end
|
||||||
|
|
||||||
def teardown
|
def teardown
|
||||||
|
|
Loading…
Reference in a new issue