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

[Question] support for HTTP/2? #364

Closed
siegy22 opened this issue May 5, 2017 · 3 comments
Closed

[Question] support for HTTP/2? #364

siegy22 opened this issue May 5, 2017 · 3 comments
Labels

Comments

@siegy22
Copy link

siegy22 commented May 5, 2017

Hi guys.

I'm pretty new to crystal and kemal. I was wondering if there's any HTTP/2 support somehow built-in into the framework or in crystal language itself.

I looked through the http2 implementations list and didn't find anything about crystal.

So my question is: Is kemal and/or crystal capable of doing HTTP/2 communication? I think this could really be a breakthrough for kemal to become popular.

Keep up the good work! 💚

EDIT:
If this issue is misplaced, please tell me where I should move it to. 😁

@siegy22
Copy link
Author

siegy22 commented May 5, 2017

I found a ongoing discussion on the crystal repo: crystal-lang/crystal#2125

And a (yet to be finshed) initial implementation of the HTTP2 protocol in crystal: https://github.com/ysbaddaden/http2

@rishavs
Copy link

rishavs commented Jun 18, 2018

Any update on this?
I am hoping to use my frontend as static html/js client which connects to a Kemal based api via https. Having http/2 support would be super good.

@RX14
Copy link

RX14 commented Jun 18, 2018

No update here, unfortunately. The stdlib HTTP stuff needs a bit of a redesign with HTTP/2 in mind.

For now, using nginx or another reverse proxy in front of crystal web apps is still strongly advised, and nginx with HTTP/2 support is almost as good as native H2 support in the application.

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

4 participants