Skip to content

test: Rename connection_compatbility_test to connection_compatibility_test - #47867

Merged
kyessenov merged 1 commit into
envoyproxy:mainfrom
pianiststickman:typo
Sep 29, 2026
Merged

kyessenov merged 1 commit into
envoyproxy:mainfrom
pianiststickman:typo

Conversation

@pianiststickman

Copy link
Copy Markdown
Contributor

Commit Message: test: rename connection_compatbility_test to connection_compatibility_test
Additional Description: http://en.wiktionary.org/wiki/compatibility
Risk Level: none
Testing: it builds
Docs Changes: n/a
Release Notes: n/a
Platform Specific Features: n/a

@repokitteh-read-only

Copy link
Copy Markdown

As a reminder, PRs marked as draft will not be automatically assigned reviewers,
or be handled by maintainer-oncall triage.

Please mark your PR as ready when you want it to be reviewed!

🐱

Caused by: #47867 was opened by pianiststickman.

see: more, trace.

@pianiststickman
pianiststickman marked this pull request as ready for review September 29, 2026 19:44
@kyessenov
kyessenov merged commit 19bb83d into envoyproxy:main Sep 29, 2026
27 checks passed
phlax pushed a commit to phlax/envoy that referenced this pull request Nov 17, 2026
…nvoyproxy#48409)

An internal connection can enter `CloseAfterFlush` while its peer's
receive buffer is full, leaving only Write enabled and no callback
scheduled. If the peer then closes, the EOF notification cannot wake
that writer, so the connection can remain stuck retaining its pending
output.

Activate an enabled Write event after clearing the peer state. The
pending flush then observes the write error and closes. This complements
envoyproxy#43976, which makes a closed peer write-unblocked when readiness is
checked but does not schedule a callback for a writer that was already
blocked.

Risk Level: Medium
Runtime Guard: N/A

Docs Changes: N/A
Release Notes: Added a bug-fix fragment describing retained-buffer
cleanup.

AI assistance: Codex assisted with investigation, implementation, tests,
and review.

Signed-off-by: Harry Bagdi <[email protected]>

Backport note (release/v1.39): `onPeerDestroy()` is inline in
`io_handle_impl.h` on this branch, so the wakeup goes there. The
connection test goes in `connection_compatbility_test.cc` (renamed by
envoyproxy#47867, not on this branch) and is not parameterized on
`enable_send_rst_on_user_space_socket`, which this branch does not have.

(cherry picked from commit 30a4db3)
Signed-off-by: Ryan Northey <[email protected]>
phlax pushed a commit to phlax/envoy that referenced this pull request Nov 17, 2026
…nvoyproxy#48409)

An internal connection can enter `CloseAfterFlush` while its peer's
receive buffer is full, leaving only Write enabled and no callback
scheduled. If the peer then closes, the EOF notification cannot wake
that writer, so the connection can remain stuck retaining its pending
output.

Activate an enabled Write event after clearing the peer state. The
pending flush then observes the write error and closes. This complements
envoyproxy#43976, which makes a closed peer write-unblocked when readiness is
checked but does not schedule a callback for a writer that was already
blocked.

Risk Level: Medium
Runtime Guard: N/A

Docs Changes: N/A
Release Notes: Added a bug-fix fragment describing retained-buffer
cleanup.

AI assistance: Codex assisted with investigation, implementation, tests,
and review.

Signed-off-by: Harry Bagdi <[email protected]>

Backport note (release/v1.39): `onPeerDestroy()` is inline in
`io_handle_impl.h` on this branch, so the wakeup goes there. The
connection test goes in `connection_compatbility_test.cc` (renamed by
envoyproxy#47867, not on this branch) and is not parameterized on
`enable_send_rst_on_user_space_socket`, which this branch does not have.

(cherry picked from commit 30a4db3)
Signed-off-by: Ryan Northey <[email protected]>
phlax pushed a commit to phlax/envoy that referenced this pull request Nov 17, 2026
…nvoyproxy#48409)

An internal connection can enter `CloseAfterFlush` while its peer's
receive buffer is full, leaving only Write enabled and no callback
scheduled. If the peer then closes, the EOF notification cannot wake
that writer, so the connection can remain stuck retaining its pending
output.

Activate an enabled Write event after clearing the peer state. The
pending flush then observes the write error and closes. This complements
envoyproxy#43976, which makes a closed peer write-unblocked when readiness is
checked but does not schedule a callback for a writer that was already
blocked.

Risk Level: Medium
Runtime Guard: N/A

Docs Changes: N/A
Release Notes: Added a bug-fix fragment describing retained-buffer
cleanup.

AI assistance: Codex assisted with investigation, implementation, tests,
and review.

Signed-off-by: Harry Bagdi <[email protected]>

Backport note (release/v1.38): `onPeerDestroy()` is inline in
`io_handle_impl.h` on this branch, so the wakeup goes there. The
connection test goes in `connection_compatbility_test.cc` (renamed by
envoyproxy#47867, not on this branch) and is not parameterized on
`enable_send_rst_on_user_space_socket`, which this branch does not have.

(cherry picked from commit 30a4db3)
Signed-off-by: Ryan Northey <[email protected]>
phlax pushed a commit to phlax/envoy that referenced this pull request Nov 17, 2026
…nvoyproxy#48409)

An internal connection can enter `CloseAfterFlush` while its peer's
receive buffer is full, leaving only Write enabled and no callback
scheduled. If the peer then closes, the EOF notification cannot wake
that writer, so the connection can remain stuck retaining its pending
output.

Activate an enabled Write event after clearing the peer state. The
pending flush then observes the write error and closes. This complements
envoyproxy#43976, which makes a closed peer write-unblocked when readiness is
checked but does not schedule a callback for a writer that was already
blocked.

Risk Level: Medium
Runtime Guard: N/A

Docs Changes: N/A
Release Notes: Added a bug-fix fragment describing retained-buffer
cleanup.

AI assistance: Codex assisted with investigation, implementation, tests,
and review.

Signed-off-by: Harry Bagdi <[email protected]>

Backport note (release/v1.38): `onPeerDestroy()` is inline in
`io_handle_impl.h` on this branch, so the wakeup goes there. The
connection test goes in `connection_compatbility_test.cc` (renamed by
envoyproxy#47867, not on this branch) and is not parameterized on
`enable_send_rst_on_user_space_socket`, which this branch does not have.

(cherry picked from commit 30a4db3)
Signed-off-by: Ryan Northey <[email protected]>
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