This repository has been archived by the owner on Apr 8, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 124
Closing the socket from a streaming client early results in a panic #22
Comments
stevej
pushed a commit
to stevej/grpc-rust
that referenced
this issue
Dec 20, 2016
stevej
changed the title
EOF from streaming client results in a stream failure
Closing the socket from a streaming client early results in a panic
Dec 20, 2016
I managed to reproduce the issues. rust-grpc repository contains various clients and servers implemented in rust and go. I did this:
Server panics with error:
So, according to these logs, go client sends So, Go implementation violates HTTP/2 spec, right? |
No, seems like it is correct:
I don't understand why spec allows it. |
Ah, I got it! |
Fixed the issue in d3386b0. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
(I have a fix for this in a branch)
If you exit a client without sending an
end-of-stream
indicator on the stream, the server will panic. This is technically out of spec but grpc-rust should be resilient to it.The text was updated successfully, but these errors were encountered: