Groups
Groups
Sign in
Groups
Groups
grpc.io
Conversations
About
Send feedback
Help
Relying on IllegalStateException: Call already half-closed
17 views
Skip to first unread message
changxu
unread,
Jun 4, 2019, 5:18:03 AM
6/4/19
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to grpc.io
Hi all,
I wanted to know if sending second onCompleted on already half-closed rpc might have any side effects beyond throwing IllegalStateException?
Carl Mastrangelo
unread,
Jun 5, 2019, 1:20:03 PM
6/5/19
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to grpc.io
There is no side effect. The gRPC library checks the state before making any mutations. It's still a bug to call it twice. What is the use case?
Reply all
Reply to author
Forward
0 new messages