Project

General

Profile

Actions

Feature #3151

closed

WebSockets over HTTP/2

Added by gstrauss about 2 months ago. Updated about 2 months ago.

Status:
Fixed
Priority:
Normal
Category:
core
Target version:
ASK QUESTIONS IN Forums:
No

Description

WebSockets over HTTP/2

Add support for WebSockets over HTTP/2 to lighttpd core and to
- mod_cgi w/ config: cgi.upgrade = "enable"
- mod_proxy w/ config: proxy.header += ("upgrade" => "enable")
- mod_wstunnel

HTTP/2 CONNECT extension defined in RFC8441 is translated to HTTP/1.1 'Upgrade: websocket' requests to mod_cgi or mod_proxy, and is handled directly in mod_wstunnel.

Reference:
Bootstrapping WebSockets with HTTP/2
https://datatracker.ietf.org/doc/html/rfc8441

Actions #1

Updated by gstrauss about 2 months ago

Development patches can be found on https://git.lighttpd.net/lighttpd/lighttpd1.4/src/branch/personal/gstrauss/master
Simple testing appear to work.

Actions #2

Updated by gstrauss about 2 months ago

  • Status changed from Patch Pending to Fixed
Actions

Also available in: Atom