Field DefaultMaxDecodedBytes
Default cap on the unwrapped size, 128 MB. A body that expands past the cap is refused, so a small
compressed message cannot exhaust the process memory; raise it per format instance when a bigger
payload is expected (new GZipMessageSerializer(maxDecodedBytes: …)).
public const long DefaultMaxDecodedBytes = 134217728