mirror of https://github.com/grpc/grpc-java.git
We provided extra details when the RPC is killed by CallOptions' Deadline, but didn't do the same for Context. To avoid duplicating code, things were restructured, including the threading. There are more code flows now, but I think the multi-threading came out more obvious and less error-prone. I didn't change the status when the deadline is already expired, because the text is shared with DelayedClientCall and AbstractInteropTest doesn't distinguish between the two cases. This is a roll-forward that avoids a NPE when cancel() is called without an earlier call to start(). As seen at b/300991330 |
||
|---|---|---|
| .. | ||
| src | ||
| build.gradle | ||