Skip to content

Unsupported codec on server should fail with Unimplemented instead of attempting to use proto codec #1824

@dfawley

Description

@dfawley

grpc-go/server.go

Lines 1433 to 1435 in f1437f7

if codec == nil {
return encoding.GetCodec(proto.Name)
}

This would be a behavior change, even though it's also a bug fix, so it would need to be carefully considered first.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions