Skip to content

Formatter: support UPSTREAM_LOCAL_CLOSE_REASON#43515

Open
TAOXUY wants to merge 5 commits intoenvoyproxy:mainfrom
TAOXUY:upstreamLocalCloseReason
Open

Formatter: support UPSTREAM_LOCAL_CLOSE_REASON#43515
TAOXUY wants to merge 5 commits intoenvoyproxy:mainfrom
TAOXUY:upstreamLocalCloseReason

Conversation

@TAOXUY
Copy link
Contributor

@TAOXUY TAOXUY commented Feb 17, 2026

Commit Message:
This change introduces UPSTREAM_LOCAL_CLOSE_REASON to the stream info and formatter.

  • For HTTP: Sets local_close_reason to 'on_idle_timeout' in the connection client's onIdleTimeout.
  • For TCP Proxy: Propagates the tcp_session_timeout from downstream to upstream when an idle timeout is triggered.

This allows operators to distinguish between different reasons for upstream connection termination in access logs.

Risk Level: Llow
Testing:

  • unit tests added
  • integration test aded

Docs Changes: updated
Release Notes: updated
Platform Specific Features: no

Signed-off-by: Xuyang Tao <taoxuy@google.com>
@TAOXUY
Copy link
Contributor Author

TAOXUY commented Feb 17, 2026

@botengyao

Signed-off-by: Xuyang Tao <taoxuy@google.com>
@TAOXUY
Copy link
Contributor Author

TAOXUY commented Feb 17, 2026

/retest

Signed-off-by: Xuyang Tao <taoxuy@google.com>
Signed-off-by: Xuyang Tao <taoxuy@google.com>
Signed-off-by: Xuyang Tao <taoxuy@google.com>
@TAOXUY TAOXUY changed the title Expose UPSTREAM_LOCAL_CLOSE_REASON in the upstream connection streamInfo Formatter: support UPSTREAM_LOCAL_CLOSE_REASON Feb 18, 2026
@TAOXUY
Copy link
Contributor Author

TAOXUY commented Feb 18, 2026

/retest

1 similar comment
@TAOXUY
Copy link
Contributor Author

TAOXUY commented Feb 18, 2026

/retest

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.

1 participant

Comments