summaryrefslogtreecommitdiff
path: root/lib/drb
diff options
context:
space:
mode:
-rw-r--r--lib/drb/ssl.rb4
-rw-r--r--lib/drb/timeridconv.rb2
-rw-r--r--lib/drb/unix.rb4
3 files changed, 5 insertions, 5 deletions
@@ -122,7 +122,7 @@ module DRb
end
def self.open(uri, config)
- host, port, option = parse_uri(uri)
host.untaint
port.untaint
soc = TCPSocket.open(host, port)
@@ -134,7 +134,7 @@ module DRb
def self.open_server(uri, config)
uri = 'drbssl://:0' unless uri
- host, port, opt = parse_uri(uri)
if host.size == 0
host = getservername
soc = open_server_inaddr_any(host, port)
@@ -64,7 +64,7 @@ module DRb
def keeper
Thread.new do
loop do
- size = alternate
sleep(@timeout)
end
end
@@ -19,14 +19,14 @@ module DRb
end
def self.open(uri, config)
- filename, option = parse_uri(uri)
filename.untaint
soc = UNIXSocket.open(filename)
self.new(uri, soc, config)
end
def self.open_server(uri, config)
- filename, option = parse_uri(uri)
if filename.size == 0
soc = temp_server
filename = soc.path