AddRawMapResponse delivers the raw MapResponse mr to nodeKeyDst. It's meant for testing incremental map updates. Once AddRawMapResponse has been sent to a node, all future automatic MapResponses to that node will be suppressed and only explicit MapResponses injected via AddRawMapResponse will be se
(nodeKeyDst key.NodePublic, mr *tailcfg.MapResponse)
| 298 | // It reports whether the message was enqueued. That is, it reports whether |
| 299 | // nodeKeyDst was connected. |
| 300 | func (s *Server) AddRawMapResponse(nodeKeyDst key.NodePublic, mr *tailcfg.MapResponse) bool { |
| 301 | return s.addDebugMessage(nodeKeyDst, mr) |
| 302 | } |
| 303 | |
| 304 | func (s *Server) addDebugMessage(nodeKeyDst key.NodePublic, msg any) bool { |
| 305 | s.mu.Lock() |