We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c34ab48 commit d55c49fCopy full SHA for d55c49f
provider/motanProvider.go
@@ -55,6 +55,8 @@ func (m *MotanProvider) Initialize() {
55
56
func (m *MotanProvider) Call(request motan.Request) motan.Response {
57
if m.IsAvailable() {
58
+ // x-forwared-for
59
+ request.SetAttachment("x-forwarded-for", request.GetAttachment(motan.HostKey))
60
return m.ep.Call(request)
61
}
62
t := time.Now().UnixNano()
0 commit comments