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) {
/* Probably already removed */
LOGINFO("Failed to find client with polled fd %d in hashtable, closing",
fd);
close(fd);
LOGDEBUG("Failed to find client with polled fd %d in hashtable",
fd);
} else
parse_client_msg(ci, client);

Loading…
Cancel
Save