• Mikio Hara's avatar
    net: add Source field to OpError · afd2d2b6
    Mikio Hara authored
    Not only by network, transport-layer intermediaries but by
    virtualization stuff in a node, it is hard to identify the root cause of
    weird faults without information of packet flows after disaster
    happened.
    
    This change adds Source field to OpError to be able to represent a
    5-tuple of internet transport protocols for helping dealing with
    complicated systems.
    
    Also clarifies the usage of Source and Addr fields.
    
    Updates #4856.
    
    Change-Id: I96a523fe391ed14406bfb21604c461d4aac2fa19
    Reviewed-on: https://go-review.googlesource.com/9231Reviewed-by: 's avatarIan Lance Taylor <iant@golang.org>
    afd2d2b6
dial_gen.go 1.08 KB