diff options
author | Jeff Trawick <trawick@apache.org> | 2004-01-27 15:19:58 +0000 |
---|---|---|
committer | Jeff Trawick <trawick@apache.org> | 2004-01-27 15:19:58 +0000 |
commit | 01da1159b3c875970422cd3dab7ccadf271a788f (patch) | |
tree | 96c02d0f741013d8cb618acbe581f510ac0ca042 /server/mpm/worker/worker.c | |
parent | 20e2e0190aaa6df59a2a1c34e9bdcc6cdc90a3a2 (diff) | |
download | httpd-01da1159b3c875970422cd3dab7ccadf271a788f.tar.gz |
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 'server/mpm/worker/worker.c')
-rw-r--r-- | server/mpm/worker/worker.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/server/mpm/worker/worker.c b/server/mpm/worker/worker.c index 40fb645e78..874125e603 100644 --- a/server/mpm/worker/worker.c +++ b/server/mpm/worker/worker.c @@ -557,16 +557,6 @@ static void process_socket(apr_pool_t *p, apr_socket_t *sock, int my_child_num, ap_create_sb_handle(&sbh, p, my_child_num, my_thread_num); apr_os_sock_get(&csd, sock); - if (csd >= 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)", - csd, FD_SETSIZE); - apr_socket_close(sock); - return; - } - current_conn = ap_run_create_connection(p, ap_server_conf, sock, conn_id, sbh, bucket_alloc); if (current_conn) { |