mirror of
http://thekelleys.org.uk/git/dnsmasq.git
synced 2026-10-26 12:24:42 +00:00
Use poll() instead of select() to remove limits on open file descriptors.
This commit is contained in:
1 parent
0f38fa05a6
commit
b842bc97bb
10 files changed
+216
-137
No files matched your search
+2
-2
@@ -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);
|
||||
|
||||
|
||||
Reference in new issue
Block a user