findclient-print-stolen-clients-20040805

when a client is "stolen" due to a race, print it.
This commit is contained in:
Derrick Brashear 2004-08-05 15:48:09 +00:00
parent fca4ef8bfd
commit c50f171f2c

View File

@ -1545,6 +1545,9 @@ h_FindClient_r(struct rx_connection *tcon)
oldClient = (struct client *)rx_GetSpecific(tcon, rxcon_client_key);
if (oldClient && oldClient->tcon == tcon) {
oldClient->tcon = (struct rx_connection *)0;
ViceLog(0, ("FindClient: client %x(%x) already had conn %x (host %x), stolen by client %x(%x)\n",
oldClient, oldClient->sid, tcon,
rx_HostOf(rx_PeerOf(tcon)), client, client->sid));
/* rx_SetSpecific will be done immediately below */
}
client->tcon = tcon;