-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Fix for SSL Client Auth filter closing connection without reason #35034
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
Conversation
Signed-off-by: Arul Thileeban Sagayam <arul.thilee@gmail.com>
There was a problem hiding this 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, _)); |
There was a problem hiding this comment.
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"
There was a problem hiding this comment.
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 <arul.thilee@gmail.com>
…voyproxy#35034) Fixes envoyproxy#34997 Signed-off-by: Arul Thileeban Sagayam <arul.thilee@gmail.com> Signed-off-by: Fernando Cainelli <fernando.cainelli-external@getyourguide.com>
…voyproxy#35034) Fixes envoyproxy#34997 Signed-off-by: Arul Thileeban Sagayam <arul.thilee@gmail.com> Signed-off-by: Fernando Cainelli <fernando.cainelli-external@getyourguide.com>
…voyproxy#35034) Fixes envoyproxy#34997 Signed-off-by: Arul Thileeban Sagayam <arul.thilee@gmail.com> Signed-off-by: Fernando Cainelli <fernando.cainelli-external@getyourguide.com>
…voyproxy#35034) Fixes envoyproxy#34997 Signed-off-by: Arul Thileeban Sagayam <arul.thilee@gmail.com> Signed-off-by: Fernando Cainelli <fernando.cainelli-external@getyourguide.com>
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