class DRb::DRbSSLSocket
def self.open(uri, config)
'drbssl://localhost:0'
above, +config+ is our+uri+ is the URI we are connected to,
DRb.start_service 'drbssl://localhost:0', front, config
connecting to a remote object:
with the SSL connected. This is called from DRb::start_service or while
Return an DRb::DRbSSLSocket instance as a client-side connection,
def self.open(uri, config) host, port, = parse_uri(uri) soc = TCPSocket.open(host, port) ssl_conf = SSLConfig::new(config) ssl_conf.setup_ssl_context ssl = ssl_conf.connect(soc) self.new(uri, ssl, ssl_conf, true) end