client: always purge a client from the connid table, as connid is not related to FD
This commit is contained in:
parent
3da53a4d74
commit
36f0ec74c1
1 changed files with 2 additions and 1 deletions
|
@ -1944,13 +1944,14 @@ close_connection(struct Client *client_p)
|
|||
else
|
||||
ServerStats.is_ni++;
|
||||
|
||||
del_from_cli_connid_hash(client_p);
|
||||
|
||||
if(client_p->localClient->F != NULL)
|
||||
{
|
||||
/* attempt to flush any pending dbufs. Evil, but .. -- adrian */
|
||||
if(!IsIOError(client_p))
|
||||
send_queued(client_p);
|
||||
|
||||
del_from_cli_connid_hash(client_p);
|
||||
rb_close(client_p->localClient->F);
|
||||
client_p->localClient->F = NULL;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue