mirror of
https://git.openafs.org/openafs.git
synced 2025-01-31 13:38:01 +00:00
DEVEL15-rx-idledead-only-ignore-keepalives-20081222
LICENSE IPL10 critical to not ignore e.g. other acks (cherry picked from commit c69fa8fef4de43182d9e6ebad1d5c1db71148d6d)
This commit is contained in:
parent
505fd52f11
commit
6a9a414dbe
@ -5499,7 +5499,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…
x
Reference in New Issue
Block a user