reactor-netty icon indicating copy to clipboard operation
reactor-netty copied to clipboard

HTTP/2 PING frame handling

Open claraccio opened this issue 1 year ago • 3 comments

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.

claraccio avatar Jun 16 '24 05:06 claraccio

@claraccio Are you interested in providing a PR?

violetagg avatar Jun 17 '24 07:06 violetagg

@violetagg Hello! It seems this issue has been inactive, so I’d like to take it on.

From my understanding, the scope of the work would include:

  • Checking the connection status using ping frames in the HTTP Client
  • Closing the connection if it is deemed invalid

If I’ve missed anything or if there are additional requirements, please let me know. I’d like to confirm before starting the work.

Thank you!

raccoonback avatar Jan 25 '25 01:01 raccoonback

@violetagg Hello! It seems this issue has been inactive, so I’d like to take it on.

sure, go on

From my understanding, the scope of the work would include:

  • Checking the connection status using ping frames in the HTTP Client
  • Closing the connection if it is deemed invalid

yes that's correct

If I’ve missed anything or if there are additional requirements, please let me know. I’d like to confirm before starting the work.

Thank you!

violetagg avatar Jan 27 '25 06:01 violetagg