Skip to content

Commit

Permalink
internal/transport: Add LocalAddr to http2Client.getPeer() (#6779)
Browse files Browse the repository at this point in the history
  • Loading branch information
CarlosRDomin authored Nov 10, 2023
1 parent eb46b7d commit 591c481
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions internal/transport/http2_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -495,8 +495,9 @@ func (t *http2Client) newStream(ctx context.Context, callHdr *CallHdr) *Stream {

func (t *http2Client) getPeer() *peer.Peer {
return &peer.Peer{
Addr: t.remoteAddr,
AuthInfo: t.authInfo, // Can be nil
Addr: t.remoteAddr,
AuthInfo: t.authInfo, // Can be nil
LocalAddr: t.localAddr,
}
}

Expand Down

0 comments on commit 591c481

Please sign in to comment.