stepancheg / grpc-rust

Rust implementation of gRPC
MIT License
1.37k stars 124 forks source link

UnexpectedEof when client connection ends #122

Closed mcesar closed 6 years ago

mcesar commented 6 years ago

If we enable logging in greeter_server and run greeter_client we will see the following warning on server:

WARN:: connection end: IoError(Custom { kind: UnexpectedEof, error: StringError("early eof") })

Is it something we must worry about? How to prevent this warning?

stepancheg commented 6 years ago

Nothing to worry about. This warning needs to be fixed in the rust-http2 source: when a connection is closed it should (probably) be a warning only if:

mcesar commented 6 years ago

Thanks for the reply. Is there a fix planned in rust-http2?

stepancheg commented 6 years ago

I have created an issue.