stczwd opened a new pull request #9147: URL: https://github.com/apache/arrow/pull/9147
InvalidProtocolBufferException will be thrown in ArrowMessage.frame if we use gzip compress in Grpc. The reason is, stream.available is still a 1 after we read compressed data. It need another read to change InflaterInputStream.reachEOF to be true, and make stream.available to be 0. Thus we need check stream.available agian after read first byte from stream. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
