mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-18 06:51:47 +00:00
zombied connections get their packets dropped on the floor
This commit is contained in:
parent
3dafbebf10
commit
cac001e035
1 changed files with 6 additions and 3 deletions
|
@ -1714,9 +1714,12 @@ SV_ReadPackets (void)
|
|||
Con_DPrintf ("SV_ReadPackets: fixing up a translated port\n");
|
||||
cl->netchan.remote_address.port = net_from.port;
|
||||
}
|
||||
if (Netchan_Process (&cl->netchan)) { // this is a valid,
|
||||
// sequenced packet, so
|
||||
// process it
|
||||
if (cl->state == cs_zombie) {
|
||||
// we dropped them, so drop their packets on the floor
|
||||
break;
|
||||
}
|
||||
if (Netchan_Process (&cl->netchan)) {
|
||||
// this is a valid, sequenced packet, so process it
|
||||
svs.stats.packets++;
|
||||
good = true;
|
||||
cl->send_message = true; // reply at end of frame
|
||||
|
|
Loading…
Reference in a new issue