Browse Source

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

This reverts commit f6f61e8870.
master
Con Kolivas 10 years ago
parent
commit
8d625b736b
  1. 5
      src/connector.c

5
src/connector.c

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

Loading…
Cancel
Save