Skip to content

Channelz requests for subchannel information should be able to handle null Socket address values #19

@murgatroid99

Description

@murgatroid99

The Socket field remote is explicitly allowed to be absent, but the code to handle it unconditionally passes it to prettyAddress, which panics if the value is nil. It would also be good to handle the field local similarly, because output that shows that it is nil (incorrectly) would be more useful than a panic.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions