Thrift-1978: Ruby: Thrift should allow for the SSL verify mode to be set
authorJake Farrell <jfarrell@apache.org>
Tue, 28 May 2013 02:01:36 +0000 (22:01 -0400)
committerJake Farrell <jfarrell@apache.org>
Tue, 28 May 2013 02:01:36 +0000 (22:01 -0400)
commitfbb78a65897ff40a7a40daa1b90aef5e23789827
tree6dffd7cb90c6ead2a1b7b92e61d9ed9559f02942
parentd3c71827f87cc25a6469af5fd8f30e38454832e1
Thrift-1978: Ruby: Thrift should allow for the SSL verify mode to be set
Client: rb
Patch: Timur Alperovich

Ruby SSL verify mode cannot be specified, which means thrift cannot be used against servers with self-signed certificates over SSL. The suggested fix is to expose the SSL verification mode as a constructor argument in lib/rb/lib/thrift/transport/http_client_transport.rb.
lib/rb/lib/thrift/transport/http_client_transport.rb
lib/rb/spec/http_client_spec.rb