grpc / grpc-java

The Java gRPC implementation. HTTP/2 based RPC
https://grpc.io/docs/languages/java/
Apache License 2.0
11.39k stars 3.83k forks source link

netty:Fix Netty composite buffer merging to be compatible with Netty 4.1.111 (v1.65.x backport) #11302

Closed larry-safran closed 3 months ago

larry-safran commented 3 months ago

Change the logic for identifying changes to the read index when merging into a netty composite buffer so that it works with both older versions of netty and netty 4.1.111

Fixes https://github.com/grpc/grpc-java/issues/11284

Backport of https://github.com/grpc/grpc-java/pull/11294