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) { if (!client) {
/* Probably already removed */ /* 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); fd);
close(fd);
} else } else
parse_client_msg(ci, client); parse_client_msg(ci, client);

Loading…
Cancel
Save