summaryrefslogtreecommitdiffstats
path: root/os/unix/unixd.c
diff options
context:
space:
mode:
authorJeff Trawick <trawick@apache.org>2004-01-27 16:19:58 +0100
committerJeff Trawick <trawick@apache.org>2004-01-27 16:19:58 +0100
commit01da1159b3c875970422cd3dab7ccadf271a788f (patch)
tree96c02d0f741013d8cb618acbe581f510ac0ca042 /os/unix/unixd.c
parentissue a warning if an external rewrite map is used without RewriteLock. (diff)
downloadapache2-01da1159b3c875970422cd3dab7ccadf271a788f.tar.xz
apache2-01da1159b3c875970422cd3dab7ccadf271a788f.zip
Unix MPMs: Stop dropping connections when the file descriptor
is at least FD_SETSIZE. That isn't a problem for most users (since poll() is widespread). On old boxes where select() must be used by APR, APR needs to fail operations that don't work with such fds. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102419 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'os/unix/unixd.c')
-rw-r--r--os/unix/unixd.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/os/unix/unixd.c b/os/unix/unixd.c
index 16c71fcf8a..e1d5069b51 100644
--- a/os/unix/unixd.c
+++ b/os/unix/unixd.c
@@ -508,15 +508,6 @@ AP_DECLARE(apr_status_t) unixd_accept(void **accepted, ap_listen_rec *lr,
if (status == APR_SUCCESS) {
*accepted = csd;
apr_os_sock_get(&sockdes, csd);
- if (sockdes >= FD_SETSIZE) {
- ap_log_error(APLOG_MARK, APLOG_WARNING, 0, NULL,
- "new file descriptor %d is too large; you probably need "
- "to rebuild Apache with a larger FD_SETSIZE "
- "(currently %d)",
- sockdes, FD_SETSIZE);
- apr_socket_close(csd);
- return APR_EINTR;
- }
#ifdef TPF
if (sockdes == 0) { /* 0 is invalid socket for TPF */
return APR_EINTR;