Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

About HTTP2/mod_http2

1 view
Skip to first unread message

Eduardo

unread,
Oct 15, 2023, 3:51:11 AM10/15/23
to
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 have a web application written in C that I'd link against `libnghttp2' at compile 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 closes the connection.

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

Thanks
0 new messages