method
accept
v1_9_3_125 -
Show latest stable
- Class:
DRb::DRbSSLSocket
accept()public
No documentation available.
# File lib/drb/ssl.rb, line 173
def accept
begin
while true
soc = @socket.accept
break if (@acl ? @acl.allow_socket?(soc) : true)
soc.close
end
ssl = @config.accept(soc)
self.class.new(uri, ssl, @config, true)
rescue OpenSSL::SSL::SSLError
warn("#{__FILE__}:#{__LINE__}: warning: #{$!.message} (#{$!.class})") if @config[:verbose]
retry
end
end