Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for SSL Client Auth filter closing connection without reason #35034

Merged
merged 2 commits into from
Jul 3, 2024

Conversation

arulthileeban
Copy link
Contributor

Commit Message: Fix for SSL Client Auth filter closing connection without reason

Risk Level: Low
Testing: Unit testing
Docs Changes: N/A
Release Notes: N/A
Fixes #34997

Copy link
Contributor

@ggreenway ggreenway left a comment

Choose a reason for hiding this comment

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

Fix looks good!

/wait

@@ -167,7 +167,7 @@ TEST_F(ClientSslAuthFilterTest, Ssl) {
setResponseFlag(StreamInfo::CoreResponseFlag::UpstreamProtocolError));
EXPECT_CALL(filter_callbacks_.connection_.stream_info_,
setResponseCodeDetails("auth_digest_no_match"));
EXPECT_CALL(filter_callbacks_.connection_, close(Network::ConnectionCloseType::NoFlush));
EXPECT_CALL(filter_callbacks_.connection_, close(Network::ConnectionCloseType::NoFlush, _));
Copy link
Contributor

Choose a reason for hiding this comment

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

Please validate that the reason is "auth_digest_no_match"

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks. Added it

Signed-off-by: Arul Thileeban Sagayam <[email protected]>
@ggreenway ggreenway enabled auto-merge (squash) July 3, 2024 17:57
@ggreenway ggreenway merged commit 81eb136 into envoyproxy:main Jul 3, 2024
49 of 50 checks passed
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.

Local Close Reason was not set - client_ssl_auth
2 participants