Skip to content

Conversation

stuartwdouglas
Copy link
Collaborator

It is very normal for connections to be termianted by the remote
client (e.g. hitting the cancel button in firefox). There is nothing
we can do about these errors so they should be logged at debug.

Logging at a higher level opens up the possibility of a DOS attack,
as any client can trigger an excessive amount of logging by sending
a request then immediatly closing the connection.

Copy link
Member

@gsmet gsmet left a comment

Choose a reason for hiding this comment

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

Looks good.

@gsmet gsmet added this to the 0.28.0 milestone Nov 3, 2019
@gsmet gsmet added the triage/waiting-for-ci Ready to merge when CI successfully finishes label Nov 3, 2019
@gwenneg
Copy link
Member

gwenneg commented Nov 3, 2019

It looks like there's a formatting issue.

It is very normal for connections to be termianted by the remote
client (e.g. hitting the cancel button in firefox). There is nothing
we can do about these errors so they should be logged at debug.

Logging at a higher level opens up the possibility of a DOS attack,
as any client can trigger an excessive amount of logging by sending
a request then immediatly closing the connection.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

triage/waiting-for-ci Ready to merge when CI successfully finishes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants