mist icon indicating copy to clipboard operation
mist copied to clipboard

HTTP/2 support

Open rawhat opened this issue 2 years ago • 3 comments

This is currently in-progress, just keeping it visible.

It's going... okay right now 😅

rawhat avatar Jan 23 '24 22:01 rawhat

When you support HTTP/2 you should only set the header connection: keep-alive for SSE while you have a HTTP/1.1 connection. Else with HTTP/2 the response would become malformed as per the spec and ignored by Safari. See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Connection

Tychology avatar Jan 13 '25 19:01 Tychology

What about HTTP3 and QUIC support?

jtwebman avatar Feb 06 '25 17:02 jtwebman

I haven't looked too deeply into that, but it's definitely something on my radar. Would probably require a decent amount of refactoring. Seems like cowboy supports http/3, probably worth a look at their implementation. I think bandit/thousand_island is considering how to support it.

Shorter answer is: I don't know yet. Definitely a longer term goal, if anything.

rawhat avatar Feb 09 '25 04:02 rawhat