I know that Cowboy is capable of handling SPDY protocol (not HTTP2, though). However, looking into Phoenix framework source code, I only see http and https calls. Is SPDY ignored? It's pity to have my Elixir/Phoenix site serves pages slower than its old Rails incarnation just because Apache/Passenger used SPDY and Phoenix doesn't.
The only reference to SPDY in the codebase seems to be https://github.com/phoenixframework/phoenix/blob/5fc7eb829338dca3efd4a4d8f79f9e928d1bc34c/test/phoenix/socket_test.exs
Should I try to fork Phoenix and see how to add proper Cowboy call myself or am I missing something obvious?
Old topic, but Cowboy 2.0 supports HTTP/2
And here some early attempts for The Cowboy 2 adapter for Phoenix
https://github.com/VoiceLayer/phoenix_cowboy2
and example app with http/2 support
https://github.com/voicelayer/phoenix_cowboy2_example
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With