grpc-java/okhttp
ZHANG Dapeng 8dc16cd569
okhttp: let frameReader report existing goAwayStatus when socket closed
`OkHttpClientTransport.ClientFrameHandler` will fail a stream with `Status.UNAVAILABLE.withDescription("End of stream or IOException")` when socket is closed with an error. However, it does not include any more error detail. This PR provides more error detail in case there is an existing goaway status, e.g. netty server can send goaway with lastKnownStreamId=MAX_INT when header size exceeded max allowed size netty/netty/pull/10775 and shutdown the connection.

Test: `io.grpc.okhttp.OkHttpTransportTest.serverChecksInboundMetadataSize` with `netty-4.1.54.Final`
2021-05-11 14:23:39 -07:00
..
src okhttp: let frameReader report existing goAwayStatus when socket closed 2021-05-11 14:23:39 -07:00
third_party/okhttp Update to Error Prone 2.4 2020-08-06 10:56:16 -05:00
BUILD.bazel Upgrade error_prone_annotations to 2.3.4 2020-01-03 14:50:34 -08:00
build.gradle okhttp: exclude Internal* from javadoc 2020-10-21 16:11:57 -04:00