| 1485 | static void DumpConnection(const TConnection* connection); |
| 1486 | |
| 1487 | bool TUdpHost::ProcessSystemPacket(const EUdpCmd cmd, const char* pktData, const char* pktEnd) { |
| 1488 | Y_ASSERT(IsSystemCmd(cmd)); |
| 1489 | Y_ASSERT(pktData <= pktEnd); |
| 1490 | |
| 1491 | switch (cmd) { |
| 1492 | case KILL: { |
| 1493 | if (ReadKill(pktData, pktEnd)) { |
| 1494 | fprintf(stderr, "CONNECTIONS DEBUG: %s\n\n\n", GetConnectionsDebug().c_str()); |
| 1495 | |
| 1496 | for (TConnections::const_iterator i = Connections.Begin(); i != Connections.End(); ++i) { |
| 1497 | DumpConnection(static_cast<TConnection*>(i->second.Get())); |
| 1498 | } |
| 1499 | abort(); |
| 1500 | } |
| 1501 | Y_ASSERT(false); |
| 1502 | return false; |
| 1503 | } |
| 1504 | default: |
| 1505 | break; |
| 1506 | } |
| 1507 | Y_ASSERT(0 && "Not a system cmd!"); |
| 1508 | return false; |
| 1509 | } |
| 1510 | |
| 1511 | /////////////////////////////////////////////////////////////////////////////// |
| 1512 |
nothing calls this directly
no test coverage detected