ostinelli / net-http2

NetHttp2 is an HTTP/2 client for Ruby.
MIT License
140 stars 31 forks source link

JRuby support? #8

Open ostinelli opened 8 years ago

ostinelli commented 8 years ago

Right now, JRuby cannot be supported, mainly because of:

  1. npn_protocols is an undefined method for OpenSSL::SSL::SSLContext in JRuby. This is used in the client to ensure that the proper protocols is negotiated.
  2. The sends multiple GET requests concurrently test hangs, needs investigation.
  3. Thread safety needs to be improved, the returns nil when no concurrent responses are received within the specified timeout test can randomly fail.
ostinelli commented 8 years ago

Opened an issue for 1 on JRuby here.

bitwolfe commented 6 months ago

@ostinelli Any chance of this progressing now that there is ALPN support in jruby-openssl as mentioned in https://github.com/jruby/jruby-openssl/issues/99?