I’ve started to use Caddy recently and I’m wondering what would be the easiest way to access HTTP/2 (received; in the requests from the client) frames such as PRIORITY, SETTINGS, WINDOW_UPDATE, etc.
The 2 options I see are:
Change the code of some libraries - but I couldn’t quite figure out where the part that after the TLS “stripping” and before the HTTP is.
Write a plugin, and it would have to be of type: “Listener Middleware” is that correct? Using this plugin type would I be able to access the received frames themselves; after the TLS decryption (and not just the DATA or HEADER frames)?
Or perhaps there’s a debug mode in Caddy in which I’d be able to see an output similar to that of nghttp2 and h2c (verbose HTTP/2 curl-like-CLIs)?