Use poll() instead of select() to remove limits on open file descriptors.

This commit is contained in:
Simon Kelley committed 2015-07-12 21:09:11 +01:00
1 parent 0f38fa05a6
commit b842bc97bb
10 files changed
+216 -137

No files matched your search

+2 -2
View File
@@ -1887,7 +1887,7 @@ unsigned char *tcp_request(int confd, time_t now,
dst_addr_4, netmask, now, &ad_question, &do_bit);
/* Do this by steam now we're not in the select() loop */
check_log_writer(NULL);
check_log_writer(1);
if (m == 0)
{
@@ -2108,7 +2108,7 @@ unsigned char *tcp_request(int confd, time_t now,
}
}
check_log_writer(NULL);
check_log_writer(1);
*length = htons(m);