diff --git a/internal/transport/http2_server.go b/internal/transport/http2_server.go index e4eb571eae62..1011c573fefe 100644 --- a/internal/transport/http2_server.go +++ b/internal/transport/http2_server.go @@ -265,6 +265,7 @@ func NewServerTransport(conn net.Conn, config *ServerConfig) (_ ServerTransport, czData: new(channelzData), bufferPool: newBufferPool(), } + // Add peer information to the http2server context. t.ctx = peer.NewContext(t.ctx, t.getPeer())