mirror of https://github.com/grpc/grpc-java.git
Previously AbstractServerStream would throw an exception which would kill the RPC with a RST_STREAM. Now the server actually responds with a clean error message and avoids spamming the logs. WARNING: Exception in onHeadersRead() java.lang.IllegalStateException at com.google.common.base.Preconditions.checkState(Preconditions.java:495) at io.grpc.internal.AbstractStream$TransportState.onStreamAllocated(AbstractStream.java:232) at io.grpc.internal.AbstractServerStream$TransportState.onStreamAllocated(AbstractServerStream.java:224) at io.grpc.netty.NettyServerHandler.onHeadersRead(NettyServerHandler.java:451) at io.grpc.netty.NettyServerHandler.access$900(NettyServerHandler.java:101) at io.grpc.netty.NettyServerHandler$FrameListener.onHeadersRead(NettyServerHandler.java:807) at io.netty.handler.codec.http2.DefaultHttp2ConnectionDecoder$FrameReadListener.onHeadersRead(DefaultHttp2ConnectionDecoder.java:373) |
||
|---|---|---|
| .. | ||
| src | ||
| BUILD.bazel | ||
| build.gradle | ||