Project

General

Profile

Actions

Feature #2456

closed

It is better to let user to select particular ssl protocol easily.

Added by liping (liping bao) over 14 years ago. Updated over 4 years ago.

Status:
Closed
Assignee:
-
Target version:
-
[ruby-core:27093]

Description

=begin
For example, in https module, if the client want to use tls1 protocol compulsively, it is a little harder to do it.
With the following diff:
/usr/lib64/ruby/1.8/net/https.rb
120d119
< flag = (flag ? true : false)
124c123
< @ssl_context = OpenSSL::SSL::SSLContext.new

    @ssl_context = flag == true ? OpenSSL::SSL::SSLContext.new : OpenSSL::SSL::SSLContext.new(flag)

User could select the protocol as wish such as:
http.use_ssl = :TLSv1
instead of
http.use_ssl = true
=end

Actions #1

Updated by nahi (Hiroshi Nakamura) over 13 years ago

=begin
To administrator: please change the target project of this ticket to ... "Ruby"? or anywhere I can handle.
=end

Actions #2

Updated by jeremyevans0 (Jeremy Evans) over 4 years ago

  • Project changed from Backport186 to Ruby master
  • Description updated (diff)
  • Status changed from Open to Closed
Actions

Also available in: Atom PDF

Like0
Like0Like0