Displaying 2 results from an estimated 2 matches for "do_not_reverse_lookup".
2006 Jan 16
2
Basic (newbie) Webrick / ssl config question
I have a simple Intranet app I want to make accessible via the
Internet for remote access by our employees.
I want to use ssl (https) connections and I''ve found enough messages
to imply Webrick as included in rails can do the job.
The message at
        http://wrath.rubyonrails.org/pipermail/rails/2005-January/001993.html
even appears to tell me exactly how to do it by modifying
2010 Mar 05
1
WEBrick 500 error only with https
...nvironment]) if defined?(RAILS_ENV)
require RAILS_ROOT + "/config/environment"
require ''webrick_server''
OPTIONS[''working_directory''] = File.expand_path(RAILS_ROOT)
class SSLDispatchServlet < DispatchServlet
   def self.dispatch(options)
     Socket.do_not_reverse_lookup = true
     server = WEBrick::HTTPServer.new(
       :Port             => options[:port].to_i,
       :ServerType       => options[:server_type],
       :BindAddress      => options[:ip],
       :SSLEnable        => true,
       :SSLVerifyClient  => OpenSSL::SSL::VERIFY_NONE,...