We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2f52a00 commit fca1d3cCopy full SHA for fca1d3c
servlet/src/main/java/io/grpc/servlet/ServletServerStream.java
@@ -297,7 +297,9 @@ public void cancel(Status status) {
297
}
298
transportState.runOnTransportThread(() -> transportState.transportReportStatus(status));
299
// There is no way to RST_STREAM with CANCEL code, so write trailers instead
300
- close(Status.CANCELLED.withCause(status.asRuntimeException()), new Metadata());
+ close(Status.CANCELLED.withDescription("Servlet stream cancelled")
301
+ .withCause(status.asRuntimeException()),
302
+ new Metadata());
303
CountDownLatch countDownLatch = new CountDownLatch(1);
304
transportState.runOnTransportThread(() -> {
305
asyncCtx.complete();
0 commit comments