Skip to content

Conversation

@kevin-logan
Copy link
Contributor

@kevin-logan kevin-logan commented Oct 1, 2025

PR Type

Bug Fix

PR Checklist

  • Tests for the changes have been added / updated.
  • Documentation comments have been added / updated.
  • A changelog entry has been made for the appropriate packages.
  • Format code with the latest stable rustfmt.
  • (Team) Label with affected crates and semver status.

Overview

This fix attempts to resolve the issue described here: #3788

Essentially local GO_AWAY errors are generated by h2 when a connection has seen too many local-resets (such as from locally-enforced timeouts).

This is a more general fix than seen here: #3678 which resolves a very similar issue with remote-resets also being ignored.

This fix would have a go away - whether generated locally by h2 or remotely - cause the connection to be closed instead of returned to the pool for reuse.

Closes #3788
Closes #3678

Copy link
Member

@JohnTitor JohnTitor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@JohnTitor JohnTitor enabled auto-merge October 4, 2025 23:49
@JohnTitor JohnTitor added this pull request to the merge queue Oct 5, 2025
Merged via the queue into actix:master with commit 0168411 Oct 5, 2025
18 of 22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

awc reuses connections with connection errors from H2

2 participants