Author: kclark
Date: Tue Jun 17 18:20:16 2008
New Revision: 669041
URL: http://svn.apache.org/viewvc?rev=669041&view=rev
Log:
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.
Modified:
incubator/thrift/trunk/lib/rb/benchmark/benchmark.rb
Modified: incubator/thrift/trunk/lib/rb/benchmark/benchmark.rb
URL:
http://svn.apache.org/viewvc/incubator/thrift/trunk/lib/rb/benchmark/benchmark.rb?rev=669041&r1=669040&r2=669041&view=diff
==============================================================================
--- incubator/thrift/trunk/lib/rb/benchmark/benchmark.rb (original)
+++ incubator/thrift/trunk/lib/rb/benchmark/benchmark.rb Tue Jun 17 18:20:16
2008
@@ -5,7 +5,7 @@
require 'thrift/transport/unixsocket'
require 'stringio'
-HOST = 'localhost'
+HOST = '127.0.0.1'
PORT = 42587
###############