Code Review
/
common
/
thrift.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
f094022
)
rb: Set default host for benchmark to 127.0.0.1
author
Kevin Clark
<kclark@apache.org>
Wed, 18 Jun 2008 01:20:16 +0000
(
01:20
+0000)
committer
Kevin Clark
<kclark@apache.org>
Wed, 18 Jun 2008 01:20:16 +0000
(
01:20
+0000)
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
lib/rb/benchmark/benchmark.rb
patch
|
blob
|
history
diff --git
a/lib/rb/benchmark/benchmark.rb
b/lib/rb/benchmark/benchmark.rb
index
20f40f0
..
1c1bcac
100644
(file)
--- a/
lib/rb/benchmark/benchmark.rb
+++ b/
lib/rb/benchmark/benchmark.rb
@@
-5,7
+5,7
@@
require 'thrift/server/nonblockingserver'
require 'thrift/transport/unixsocket'
require 'stringio'
-HOST = '
localhost
'
+HOST = '
127.0.0.1
'
PORT = 42587
###############