processone / ejabberd

Robust, Ubiquitous and Massively Scalable Messaging Platform (XMPP, MQTT, SIP Server)
https://www.process-one.net/en/ejabberd/
Other
6.03k stars 1.5k forks source link

ejabberd_http HTTP2 #4021

Closed jpds closed 1 year ago

jpds commented 1 year ago

Describe the solution you'd like

Feature request for ejabberd_http to gain HTTP2 support - this would allow clients to enable more efficient data transfers with file uploads, and other things.

For Erlang, there's an implementation available at https://github.com/joedevivo/chatterbox and a presentation for it is at https://joedevivo.github.io/euc2015/

licaon-kter commented 1 year ago

Or use external, say nginx?

jpds commented 1 year ago

I know that using an external web server is possible, however I'd prefer not to introduce another element into my XMPP infra and more importantly: the Erlang implementations/ecosystem need to at some point evolve - even HTTP3 is a standard now.

badlop commented 1 year ago

This fork of chatterbox is more frequently updated: https://github.com/tsloughter/chatterbox

jpds commented 1 year ago

https://github.com/ninenines/cowboy also has HTTP2 support:

mremond commented 1 year ago

Implementing HTTP/2 inside ejabberd would be a huge, probably multiyear project. We have no plan for that at the moment, especially, as HTTP/2 can be supported by front specialized HTTP servers.