mirror of
https://github.com/valitydev/thrift.git
synced 2024-11-07 10:48:51 +00:00
rb: Set default host for benchmark to 127.0.0.1
MRI resolves localhost to ::1 (on OS X) whereas JRuby resolves it to 127.0.0.1. This means using MRI for server and JRuby for client doesn't work. git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@669041 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
f0940220c8
commit
77b39b3fd8
@ -5,7 +5,7 @@ require 'thrift/server/nonblockingserver'
|
||||
require 'thrift/transport/unixsocket'
|
||||
require 'stringio'
|
||||
|
||||
HOST = 'localhost'
|
||||
HOST = '127.0.0.1'
|
||||
PORT = 42587
|
||||
|
||||
###############
|
||||
|
Loading…
Reference in New Issue
Block a user