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

Spurious server log produced when client closes birectional stream #1059

Closed
geeknoid opened this issue Feb 1, 2017 · 2 comments · Fixed by #1340
Closed

Spurious server log produced when client closes birectional stream #1059

geeknoid opened this issue Feb 1, 2017 · 2 comments · Fixed by #1340
Assignees

Comments

@geeknoid
Copy link

geeknoid commented Feb 1, 2017

I have a client/server setup using bidirectional streaming. When the client calls stream.CloseSend and then immediately closes the underlying TCP connection, the server produces the following spurious log entry:

http2_server.go:320] transport: http2Server.HandleStreams failed to read frame: read tcp [::1]:9091->[::1]:38241: read: connection reset by peer

After this, everything works fine. If I insert a 1 second delay on the client between the call to CloseSend and the call to close the socket, then the log message doesn't get emitted.

This message is polluting our logs, that's why I'd like to get rid of it.

This is with Go 1.7.4

@MakMukhi
Copy link
Contributor

MakMukhi commented Feb 1, 2017 via email

@geeknoid
Copy link
Author

geeknoid commented Feb 1, 2017 via email

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants