From: Liping Bao Date: 2009-12-08T12:05:37+09:00 Subject: Re: How to use tls1 but not sslv2/3 in https? > It would let you say > > http.use_ssl = :TLSv1 Thanks, I got it. I tried your diff, and with a little change, it does work. Here is the final diff. - flag = (flag ? true : false) raise IOError, "use_ssl value changed, but session already started" \ if started? and @use_ssl != flag if flag and not @ssl_context - @ssl_context = OpenSSL::SSL::SSLContext.new + @ssl_context = flag == true ? OpenSSL::SSL::SSLContext.new : OpenSSL::SSL::SSLContext.new(flag) end @use_ssl = flag end I have already submitted the ticket. -- Posted via http://www.ruby-forum.com/.