fix http2 & tun/tap conn

This commit is contained in:
ginuerzh
2022-03-15 15:57:37 +08:00
parent 073ad80ce4
commit 506142fd0b
4 changed files with 15 additions and 13 deletions

View File

@ -98,10 +98,8 @@ func (d *http2Dialer) Dial(ctx context.Context, address string, opts ...dialer.D
defer d.clientMutex.Unlock()
delete(d.clients, address)
},
md: md.MapMetadata{"client": client},
}
c = withMetadata(md.MapMetadata{
"client": client,
}, c)
return c, nil
}