grpc / grpc/grpc-java

async client stub: need to ignore unary response msg if status is not OK

Offen
#5,968 2 Kommentare 0 Reaktionen 1 zugewiesene Person Beansprucht von @ran-su Auf GitHub ansehen
bug
Vorherrschende Sprache
Java
Sterne
12.1k
Forks
4k
Ø Merge
2 T. 17 Std.
Gemergte PRs (30 T.)
37

Beschreibung

The future and blocking APIs wait until the close() before delivering any received message. If the status is an error they throw away the request.

https://github.com/grpc/grpc-java/blob/1c9345987f6501c43c748ad15b410f695a75bef3/stub/src/main/java/io/grpc/stub/ClientCalls.java#L481-L491

We need to do the same for async stub. See also https://github.com/grpc/grpc/issues/12824

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.