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

Using newer verison of OpenSSL and exposing ALPN header negotiation #6

Open
psvensson opened this issue Feb 10, 2020 · 2 comments
Open

Comments

@psvensson
Copy link

Hi, I'm looking into implementing HTTP/2 for the Zinc Webservice. HTTP/2 require an extension to the TLS negotiation called ALPN (https://tools.ietf.org/html/rfc7301) which let arbitraty applications use and reuse TLS/SSL on port 443 to communicate.

The required API for this can be found from OpenSSL 1.0.2 (https://www.openssl.org/docs/man1.1.1/man3/SSL_set_alpn_protos.html) and I wonder if it would be possible to bump up the OpenSSL version of all three platforms to then make it possible to expose the API so it can be accessible from Smalltalk primitives.

maybe this is simple and something I can do myself, but this is the first time I dive this deep into the stack and would just liek to know if it is possible or any hints on how to do it.

Thx!

@krono
Copy link
Member

krono commented Feb 18, 2020

Hi @psvensson,

Its a bit complicated with OpenSSL, since the version avaiable on the build machines (ie, Travis) and the ones on the runtime machines (eg, yours) might not match.

That said, there's already a variant over at OpenSmalltalk/opensmalltalk-vm@Cog...hesiod:squeakssl-alpn
Could you check whether this already does what you need? I could then reconsider this one; I admit that it has "marinated" for quite a while...

@psvensson
Copy link
Author

psvensson commented Feb 25, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants