Skip to content

GRPC server seems to always compress messages even if client does not support it. #669

Open
@RubenGarcia

Description

GRPC server seems to always compress messages even if client does not support it. See https://github.com/Cysharp/YetAnotherHttpHandler/issues/19 where client is complaining with the line Request sent 'identity' grpc-encoding value with compressed message. #19

<version of the grpc-dart packages used; see your pubspec.lock file>
grpc:
dependency: "direct main"
description:
name: grpc
sha256: "220ffb2218288f4e7dea487242e08b9c6277596d9b6f3f10ba50be96771a032d"
url: "https://pub.dev"
source: hosted
version: "3.2.3"

Repro steps

  1. Generate a dart grpc server
  2. Use Unity and YetAnotherHttpHandler to connect to it

Expected result:
The client receives the correct answer

Actual result:
Request sent 'identity' grpc-encoding value with compressed message. #19

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions