summaryrefslogtreecommitdiff
path: root/src/request.h
diff options
context:
space:
mode:
authorGlenn Strauss <gstrauss@gluelogic.com>2022-03-24 04:21:11 -0400
committerGlenn Strauss <gstrauss@gluelogic.com>2022-03-25 08:43:42 -0400
commit5d1aa5d06f1dcae64481c142f7daaa0b08aee8d3 (patch)
tree3db59449f9dc69847f3cf29506d31e0135d00055 /src/request.h
parent8fe9f1c053d828f666c0498d8b4281efabe6d3a6 (diff)
downloadlighttpd-git-5d1aa5d06f1dcae64481c142f7daaa0b08aee8d3.tar.gz
[multiple] WebSockets over HTTP/2 (fixes #3151)
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. x-ref: WebSockets over HTTP/2 https://redmine.lighttpd.net/issues/3151 Bootstrapping WebSockets with HTTP/2 https://datatracker.ietf.org/doc/html/rfc8441
Diffstat (limited to 'src/request.h')
-rw-r--r--src/request.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/request.h b/src/request.h
index 607aa991..e909a88f 100644
--- a/src/request.h
+++ b/src/request.h
@@ -193,6 +193,7 @@ struct request_st {
struct stat_cache_entry *tmp_sce; /*(value valid only in sequential code)*/
int cond_captures;
+ int h2_connect_ext;
};