add client ip to agent worker registration (#3675)
This commit is contained in:
@@ -77,6 +77,7 @@ func (u AgentSocketUpgrader) Upgrade(
|
||||
}
|
||||
|
||||
registration = agent.MakeWorkerRegistration()
|
||||
registration.ClientIP = GetClientIP(r)
|
||||
|
||||
// upgrade
|
||||
conn, err := u.Upgrader.Upgrade(w, r, responseHeader)
|
||||
|
||||
Reference in New Issue
Block a user