Groups | Search | Server Info | Login | Register


Groups > alt.apache.configuration > #4395

About HTTP2/mod_http2

Newsgroups alt.apache.configuration
Date 2023-10-15 00:51 -0700
Message-ID <8f80e617-e218-46b3-995b-108df3ded697n@googlegroups.com> (permalink)
Subject About HTTP2/mod_http2
From Eduardo <ecosta.tmp@gmail.com>

Show all headers | View raw


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

Back to alt.apache.configuration | Previous | Next | Find similar


Thread

About HTTP2/mod_http2 Eduardo <ecosta.tmp@gmail.com> - 2023-10-15 00:51 -0700

csiph-web