Skip to content

Conversation

@glbrntt
Copy link
Collaborator

@glbrntt glbrntt commented Dec 10, 2019

Motivation:

gRPC is self-terminated and is not prone to truncation attacks.

Modifications:

Ignore unclean shutdown errors in the delegating error handler.

Result:

Less log spam from peers which do not send close notify.

Motivation:

gRPC is self-terminated and is not prone to truncation attacks.

Modifications:

Ignore unclean shutdown errors in the delegating error handler.

Result:

Less log spam from peers which do not send close notify.
@glbrntt glbrntt requested a review from MrMage December 10, 2019 15:15
Copy link
Collaborator

@MrMage MrMage left a comment

Choose a reason for hiding this comment

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

Optionally, you could mention that some Google and Amazon services in particular do not send close_notify.

@glbrntt glbrntt merged commit eed6204 into grpc:nio Dec 10, 2019
@glbrntt glbrntt deleted the gb-ignore-unclean-shutdown branch December 10, 2019 15:50
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