grpc / grpc/grpc-java

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

Abierto
#5,968 2 comentarios 0 reacciones 1 asignado Reclamado por @ran-su Ver en GitHub
bug
Lenguaje dominante
Java
Estrellas
12.1k
Forks
4k
Merge medio
2 d 17 h
PR fusionados (30 d)
37

Descripción

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

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.