AddPingRequest sends the ping pr to nodeKeyDst. It reports whether the message was enqueued. That is, it reports whether nodeKeyDst was connected.
(nodeKeyDst key.NodePublic, pr *tailcfg.PingRequest)
| 239 | // It reports whether the message was enqueued. That is, it reports whether |
| 240 | // nodeKeyDst was connected. |
| 241 | func (s *Server) AddPingRequest(nodeKeyDst key.NodePublic, pr *tailcfg.PingRequest) bool { |
| 242 | return s.addDebugMessage(nodeKeyDst, pr) |
| 243 | } |
| 244 | |
| 245 | // c2nRoundTripper is an http.RoundTripper that sends requests to a node via C2N. |
| 246 | type c2nRoundTripper struct { |