1 require "#{File.dirname(File.expand_path(__FILE__))}/ut_drb"
7 raise "usage: #{$0} <manager-uri> <name>" unless it
12 config[:SSLVerifyMode] = OpenSSL::SSL::VERIFY_PEER
13 config[:SSLVerifyCallback] = lambda{|ok,x509_store|
16 config[:SSLCertName] =
17 [ ["C","JP"], ["O","Foo.DRuby.Org"], ["CN", "Sample"] ]
19 DRb::DRbServer.default_argc_limit(8)
20 DRb::DRbServer.default_load_limit(4096)
21 DRb.start_service('drbssl://localhost:0', DRbEx.new, config)
22 es = DRb::ExtServ.new(ARGV.shift, ARGV.shift)