Sha256: 2c8f83b72ab40b799c614e801c51d78f18b58218d790a09698a0267f3efe44aa
Contents?: true
Size: 645 Bytes
Versions: 1
Compression:
Stored size: 645 Bytes
Contents
# encoding: utf-8 # TODO(sissel): require "openssl" takes *ages* from the logstash jar # TODO(sissel): monkeypatch Kernel.require to apply this monkeypatch only after # a 'require "openssl" has occurred. class OpenSSL::SSL::SSLContext alias_method :ca_path_JRUBY_6970=, :ca_path= alias_method :ca_file_JRUBY_6970=, :ca_file= def ca_file=(arg) if arg =~ /^jar:file:\// return ca_file_JRUBY_6970=(arg.gsub(/^jar:/, "")) end return ca_file_JRUBY_6970=(arg) end def ca_path=(arg) if arg =~ /^jar:file:\// return ca_path_JRUBY_6970=(arg.gsub(/^jar:/, "")) end return ca_path_JRUBY_6970=(arg) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
logstash-lib-1.3.2 | lib/logstash/JRUBY-6970-openssl.rb |