Project

General

Profile

Actions

Feature #3151

closed

WebSockets over HTTP/2

Added by gstrauss over 2 years ago. Updated over 2 years 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 over 2 years 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 over 2 years ago

  • Status changed from Patch Pending to Fixed
Actions

Also available in: Atom