grpcdebug icon indicating copy to clipboard operation
grpcdebug copied to clipboard

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

Open murgatroid99 opened this issue 1 year ago • 0 comments

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.

murgatroid99 avatar Aug 02 '23 22:08 murgatroid99