Browse Source

Close polled fds that are ready for reads but no longer have a client associated with them

master
Con Kolivas 10 years ago
parent
commit
f6f61e8870
  1. 3
      src/connector.c

3
src/connector.c

@ -308,8 +308,9 @@ retry:
if (!client) {
/* Probably already removed */
LOGDEBUG("Failed to find client with polled fd %d in hashtable",
LOGINFO("Failed to find client with polled fd %d in hashtable, closing",
fd);
close(fd);
} else
parse_client_msg(ci, client);

Loading…
Cancel
Save