reactor / reactor-netty

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

HTTP/2 PING frame handling #3301

Open claraccio opened 2 weeks ago

claraccio commented 2 weeks 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 2 weeks ago

@claraccio Are you interested in providing a PR?