From 4a55ac5a37e98849d576a18e736f95c0559cc889 Mon Sep 17 00:00:00 2001 From: Fei Hu Date: Wed, 17 Aug 2022 08:42:47 -0700 Subject: [PATCH] small update --- internal/transport/http2_server.go | 1 + 1 file changed, 1 insertion(+) 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())