Allow user set of parm for SSLContext.new(parm).
authorgmallard <allard.guy.m@gmail.com>
Sat, 29 Nov 2014 19:23:17 +0000 (14:23 -0500)
committergmallard <allard.guy.m@gmail.com>
Sat, 29 Nov 2014 19:23:17 +0000 (14:23 -0500)
commit96336e45d7e10c7e9bf32244332356ef99119f13
treed9968b45f19ce780fdbac3a1228b6247b03fbfe9
parent73a654d43d85652e88ef08567f4bd294aaf97135
Allow user set of parm for SSLContext.new(parm).

When using a hash connect, this commit effectively allows
the user to specifically request a particular SSL
method, e.g.:

:sslctx_newparm => :SSLv2, # ...

When using this feature it is the gem user's
responsibility to ensure that:

a) The Ruby version in use supports the requested
method, and
b) The broker used supports and allows the requested
method
README.rdoc
examples/ssl_newparm.rb [new file with mode: 0644]
lib/connection/netio.rb
lib/stomp/client.rb
lib/stomp/connection.rb