Skip to content

fix(mint): add keepalive feature using HTTP/2 pings - #600

Open
arrangabriel wants to merge 1 commit into
elixir-grpc:masterfrom
arrangabriel:feat/mint-keepalive
Open

arrangabriel wants to merge 1 commit into
elixir-grpc:masterfrom
arrangabriel:feat/mint-keepalive

Conversation

@arrangabriel

Copy link
Copy Markdown
Contributor

Adds HTTP/2 keepalive to the Mint adapter, behaving the same as Gun's keepalive/keepalive_tolerance.

  • :keepalive: interval in ms between PING frames. Default nil (no pings).
  • :keepalive_tolerance: unacknowledged pings before the connection is closed. Default nil (never close).

A ping that fails to send closes the connection.

@Linuus

Linuus commented Oct 24, 2026

Copy link
Copy Markdown

Looks like a good fix! 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants