ing
This commit is contained in:
parent
1c278bf60a
commit
2810e39817
|
@ -39,9 +39,9 @@ func (sh *GatewayRPCServletHandlers) Invoke(servletCTX rpc.ServletContext, reque
|
|||
md := servletCTX.GetAttribute(oogw.GRPCMetadataKey)
|
||||
if nil == md {
|
||||
md = metadata.Pairs(
|
||||
oogw.GRPCClientTypeKey, servletCTX.GetAttribute(oogw.SocketIDKey).(string),
|
||||
oogw.GRPCClientTypeKey, servletCTX.GetAttribute(oogw.ClientTypeKey).(string),
|
||||
oogw.GRPCSessionIDKey, servletCTX.GetAttribute(oogw.SocketIDKey).(string),
|
||||
oogw.GRPCTargetIDKey, servletCTX.GetAttribute(oogw.SocketIDKey).(string))
|
||||
oogw.GRPCTargetIDKey, servletCTX.GetAttribute(oogw.TargetIDKey).(string))
|
||||
|
||||
servletCTX.SetAttribute(oogw.GRPCMetadataKey, md)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user