About HTTP2/mod_http2

Eduardo <[email protected]> Sun, 15 Oct 2023 00:51:09 -0700 (PDT)
Newsgroups alt.apache.configuration
Message-ID <[email protected]>
Hi,

I've noticed `mod_http2' uses libnghttp2, and as I'm used to program cgi's/=
fastcgi's and websockets applications in C, I wonder if it's possible to ha=
ve a web application written in C that I'd link against `libnghttp2' at com=
pile time, and that `mod_http2' could bring to life on demand?

Same as it happens with a CGI, with the difference that a CGI is called on =
a per-request basis, while this app using HTTP/2 would be called just once =
per client, say when he visits a certain URL, and would live until client c=
loses the connection.

This is what I don't currently like from websockets, where I have to do rev=
erse proxy, which in turn requires having my (websockets) server running in=
 parallel to apache and listening for connections on a 24/7 basis, and ther=
efore wasting resources that could otherwise be taken advantage of while no=
 client has explicitly requested a websocket's connection.

Thanks