Bug 66489 - WebSockets revert to HTTP/1.1
Summary: WebSockets revert to HTTP/1.1
Status: NEW
Alias: None
Product: Apache httpd-2
Classification: Unclassified
Component: mod_http2 (show other bugs)
Version: 2.5-HEAD
Hardware: PC Linux
: P2 normal (vote)
Target Milestone: ---
Assignee: Apache HTTPD Bugs Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-02-25 08:08 UTC by stesaunde
Modified: 2023-03-02 07:26 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description stesaunde 2023-02-25 08:08:39 UTC
Not bootstrapping WebSockets with HTTP/2 per RFC 8441

1) Use mod_http2

2) Use mod_proxy_wstunnel 

3) Use mod_proxy_http2

The WebSockets went over HTTP/1.1 per RFC 7230.

The WebSockets should go over HTTP/2 per RFC 8441.

There doesn't appear to be sufficient documentation for correct configuration of WebSockets over HTTP/2 on any platform.
Comment 1 Stefan Eissing 2023-02-28 10:43:01 UTC
WebSocket over HTTP/2 is not implemented. That might explain the lack of documentation.
Comment 2 stesaunde 2023-03-01 21:53:16 UTC
(In reply to Stefan Eissing from comment #1)
> WebSocket over HTTP/2 is not implemented. That might explain the lack of
> documentation.

If implemented would it be in mod_http2 and mod_proxy_http2? Or separated out as its own modules?
Comment 3 Stefan Eissing 2023-03-02 07:26:46 UTC
Well, mod_http2 would need to implement the "front-end" part. The backend would then use the same mod_proxy mechanism as the http/1.1 parts, I assume.