reactor / reactor-netty

TCP/HTTP/UDP/QUIC client/server with Reactor over Netty
https://projectreactor.io
Apache License 2.0
2.61k stars 646 forks source link

HTTP/2 PING frame handling #3301

Open claraccio opened 5 months ago

claraccio commented 5 months ago

HTTP/2 has a ping/pong protocol, but I do not see how it can be customized via the reactor-netty API.

I only use HTTP/2 as a client so I do not know about the server side.

A feature that would be interesting is sending a PING frame at regular intervals (set by user), and if no PONG (PING ack) is received in a timely fashion (timeout set by user), then disconnect, and remove that connection from the pool.

violetagg commented 5 months ago

@claraccio Are you interested in providing a PR?