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

OpenSSL::SSL::SSLContext does not implement npn_protocols #3987

Closed
ostinelli opened this issue Jun 30, 2016 · 2 comments
Closed

OpenSSL::SSL::SSLContext does not implement npn_protocols #3987

ostinelli opened this issue Jun 30, 2016 · 2 comments

Comments

@ostinelli
Copy link

ostinelli commented Jun 30, 2016

jruby-9.0.5.0
Darwin 14.5.0 Darwin Kernel Version 14.5.0: root:xnu-2782.50.3~1/RELEASE_X86_64 x86_64

npn_protocols allows to set the protocols to be advertised as the list of supported protocols for Next Protocol Negotiation. This is very useful in HTTP/2, since the protocol is still in draft and some servers will not accept calls without a clear statement on the protocol used in the request.

Without this method, it is not possible to build highly-compatible HTTP/2 clients in JRuby.

@kares
Copy link
Member

kares commented Jul 5, 2016

do not think this can be supported seamlessly as there's no standard API for NPN with the Java SSL engine.
its possible but we would likely need a custom provider or at least some hooks to be implemented. you could move this feature requests to https://github.com/jruby/jruby-openssl/issues

@ostinelli
Copy link
Author

Moved jruby/jruby-openssl#99.

@enebo enebo added this to the Invalid or Duplicate milestone Aug 26, 2016
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

3 participants