https/ssl warning cleanup

| | Comments (0)
# clean up "using default DH parameters" warning for https
class Net::HTTP
  alias :old_use_ssl= :use_ssl=
  def use_ssl= flag
    self.old_use_ssl = flag
    @ssl_context.tmp_dh_callback = proc {}
  end
end

Leave a comment

About this Entry

This page contains a single entry by zenspider published on May 14, 2008 6:21 AM.

one more thing was the previous entry in this blog.

ARGH is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.

Pages

Powered by Movable Type 4.32-en