• Felix Lange's avatar
    rpc: fix connection tracking set in Server (#26180) · ae421480
    Felix Lange authored
    rpc: fix connection tracking in Server
    
    When upgrading to mapset/v2 with generics, the set element type used in
    rpc.Server had to be changed to *ServerCodec because ServerCodec is not
    'comparable'. While the distinction is technically correct, we know all
    possible ServerCodec types, and all of them are comparable. So just use
    a map instead.
    ae421480
server.go 5.91 KB