Skip to content

Conversation

@mpl
Copy link
Collaborator

@mpl mpl commented Dec 12, 2019

What does this PR do?

In #5985, we added CloseNotify specific versions of the responseWriter wrappers in
accesslog and metrics.
But the implementer is the pointer, not the value, and we messed up because we returned the value instead of the pointer in the "constructor".

Also, we had forgotten to remove the CloseNotify method for the type that is not supposed to implement it.

Therefore this PR fixes the above.

Motivation

Fixes #6008

More

  • Added/updated tests
  • [ ] Added/updated documentation

In bdf4c67, we added CloseNotify
specific versions of the responseWriter wrappers in
accesslog and metrics. But the implementer is the pointer, not the
value, and we messed up because we returned the value instead of the
pointer in the "constructor".

Also, we had forgotten to remove the CloseNotify method for the type
that is not supposed to implement it.

Therefore this PR fixes the above.
Copy link
Member

@juliens juliens left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@ldez ldez left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Collaborator

@jbdoumenjou jbdoumenjou left a comment

Choose a reason for hiding this comment

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

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants