Open RubenGarcia opened 1 year ago
Removing compression using
codecRegistry: CodecRegistry(codecs: const [/*GzipCodec(), */IdentityCodec()]),
does not make a difference.
Version: "3.2.4" is also affected.
Tested on android and on osx, both platforms have the issue.
After some debugging, these are my results:
https://grpc.github.io/grpc/core/md_doc_compression.html
grpc-3.2.4\lib\src\shared\message.dart
This means the grpc message is ill-constructed. The correct condition should be
header.setUint8(0, (codec == null || codec.encodingName =="identity") ? 0 : 1);
Merge request fixing the issue. https://github.com/grpc/grpc-dart/pull/693