mirror of https://github.com/grpc/grpc.git
[iomgr][Windows] Return proper error code to client when connection is reset (#33502)
Fixes #24206 by ensuring that IOCP/socket errors in the iomgr on_read callback are properly annotated with the gRPC Unavailable status. The WindowsEventEngine was already doing this correctly (try running the client with `$env:GRPC_EXPERIMENTS="event_engine_client"`). This also adds two small cleanups: * Cleanly prints statuses with their child statuses in a few spots within the chttp2 transport logging (previously, child messages were printed with garbled bits) * Adds friendly names to a subset of WSA errors that we're likely to see from common operations. The top-level status message will no longer just say "WSA Error" in many cases. CC @Hamza-Qpull/33459/head^2
parent
7910554cdd
commit
055158b932
3 changed files with 36 additions and 8 deletions
Loading…
Reference in new issue