mirror of
https://git.openafs.org/openafs.git
synced 2025-01-19 15:30:14 +00:00
rx-idledead-only-ignore-keepalives-20081222
LICENSE IPL10 critical to not ignore e.g. other acks
This commit is contained in:
parent
992ec09633
commit
c69fa8fef4
@ -5524,7 +5524,7 @@ rxi_Send(register struct rx_call *call, register struct rx_packet *p,
|
||||
* idle connections) */
|
||||
conn->lastSendTime = call->lastSendTime = clock_Sec();
|
||||
/* Don't count keepalives here, so idleness can be tracked. */
|
||||
if (p->header.type != RX_PACKET_TYPE_ACK)
|
||||
if ((p->header.type != RX_PACKET_TYPE_ACK) || (((struct rx_ackPacket *)rx_DataOf(p))->reason != RX_ACK_PING))
|
||||
call->lastSendData = call->lastSendTime;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user