Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

uninitialized constant OpenSSL::SSL::Session #197

Closed
rkh opened this issue Jun 5, 2012 · 6 comments
Closed

uninitialized constant OpenSSL::SSL::Session #197

rkh opened this issue Jun 5, 2012 · 6 comments

Comments

@rkh
Copy link
Contributor

rkh commented Jun 5, 2012

When running net-http-persistent on SSL, without running into the verification issue, we run into uninitialized constant OpenSSL::SSL::Session

@nahi
Copy link
Member

nahi commented Jun 5, 2012

Here's an additional info at https://jira.codehaus.org/browse/JRUBY-4371.

@rkh
Copy link
Contributor Author

rkh commented Jun 6, 2012

So, what do I do about this? Are there alternatives on JRuby to net-http-persistent?

@michaelklishin
Copy link
Contributor

There is a couple of Ruby wrappers for Apache HTTPComponents, like this one. Not sure if the wrapper exposes pipelining but the underlying library supports it.

@headius
Copy link
Member

headius commented Apr 28, 2013

This is still open, and caused issues with a stock net/http.rb since it tries to reuse the SSL session to speed esbalishment of SSL connections. For now, I am commenting out that code, since it doesn't affect behavior.

We still need Session implemented.

headius added a commit that referenced this issue Apr 28, 2013
JRuby does not yet implement OpenSSL::SSL::Session, so the reuse
of session broke net/http in JRuby's Ruby 2.0 mode. Since it's
only to speed up the establishment of SSL connections, we can
comment it out until we support OpenSSL::SSL:Session.

Related: #197.
@kares
Copy link
Member

kares commented Feb 27, 2015

this old beast is now also tracked at jruby/jruby-openssl#26 ... for reference

@kares kares closed this as completed Mar 20, 2015
@enebo enebo added this to the Invalid or Duplicate milestone Apr 28, 2015
@erichandsmith
Copy link

Successfully tested kares' 955f15a jruby-openssl commit with persistent.rb.

eregon added a commit that referenced this issue Mar 1, 2016
8d632d3 Fix a typo in Enumerable#grep specs
eb9a915 Clean up the entire spec temp dir when finished with mock dirs.
6793fc5 Add specs for constants with op assigns (2.0+ feature)
2428acb Duplicate grep_v block specs for grep.
f8fe203 Fix calls to close_read mistakenly copied as close_write.
6c483a1 Remove trailing spaces
aafde9a Setting umask seems unneeded for Dir specs
75c3c99 Fix indent and verify better the behavior of Dir.chdir without arguments
cafd965 Use full names in singleton_method_* fixtures to avoid confusion
793b0f5 Improve specs of Module#method_added and BasicObject#singleton_method_added
8c780f2 Fix namespace of BasicObject fixtures
19b3530 Unshare BasicObject#singleton_method_{added,removed,undefined}
7ec6446 Use ScratchPad instead of a global variable in Module#method_added spec
55bbe8d Merge pull request #199 from wied03/master
103e25a Test more block scenarios with super
2e3116d Remove unnecessary version guards
8d4cadb Prefer duplication to conditional code in specs
bb36c64 Merge pull request #197 from nobu/Numeric#step-error
33b90eb Numeric#step now raises TypeError
5940ab5 Fix lower version
dfb4e4b Merge pull request #196 from nobu/Numeric#step-error
bad02c6 Numeric#step will not raise ArgumentError
c559cd1 Fix location of version guard in Marshal#load
dc20179 Merge pull request #193 from unak/patch-1
51da767 Merge pull request #195 from iliabylich/reset-dollar-comma-gvar-back-to-nil
ef2bd56 Reset $, global variable back to nil to prevent IO.print from breaking.
44c6e32 taints float is 2.2 spec.
73e1e0b Specify Array#dig with non-numeric index
af15432 Merge pull request #191 from ruby/vais/masgn-const
86e0894 Wrap specs for multiple assignment to constants in a VariableSpecs module
fc1fee4 Add an example describing the behavior succinctly and a possible implementation for Fixnum#[]
e7b8c65 Merge pull request #192 from mame/fixnum-aref-negative
2900958 Merge pull request #190 from nobu/Symbol#match-fix
7604cbc check if the result is a MatchData
03f6140 Add some specs for `Fixnum#[]` when self is negative
4f8ca98 Add specs for multiple assignment to constants
51d46b1 New examples of Symbol#match since 2.4
7c797ee Merge pull request #189 from nobu/Symbol#match-fix
e450f73 Symbol#match will change at 2.4
e5db1f0 Merge pull request #187 from alex88/patch-1
0a9725a Add tests for Time.at with BigDecimal input

git-subtree-dir: spec/ruby
git-subtree-split: 8d632d36026879e617eae21ba913873e72a70dda
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

7 participants