SetClientAddr updates the client address (atomic write). Used for connection migration when client changes IP/port.
(addr *net.UDPAddr)
| 90 | // SetClientAddr updates the client address (atomic write). |
| 91 | // Used for connection migration when client changes IP/port. |
| 92 | func (s *Session) SetClientAddr(addr *net.UDPAddr) { |
| 93 | s.clientAddr.Store(addr) |
| 94 | } |
| 95 | |
| 96 | // Context carries request-scoped data through the handler chain. |
| 97 | // All value access methods are thread-safe. |
no outgoing calls
no test coverage detected