summaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
authorDavid Reid <dreid@apache.org>2001-03-30 22:01:49 +0200
committerDavid Reid <dreid@apache.org>2001-03-30 22:01:49 +0200
commit0f9cb187505a87c3ff54a3fabf0c2a6acbe1832c (patch)
tree6d305a1f219c8a232fbf9659a3a02e3430a87ec5 /server
parentChanges to the httpd.exp file, to get DSOs working. This is most of the (diff)
downloadapache2-0f9cb187505a87c3ff54a3fabf0c2a6acbe1832c.tar.xz
apache2-0f9cb187505a87c3ff54a3fabf0c2a6acbe1832c.zip
Now that apr_poll has been corrected and doesn't loose fd's between calls
this can be done once again. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88618 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'server')
-rw-r--r--server/mpm/beos/beos.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/mpm/beos/beos.c b/server/mpm/beos/beos.c
index 29df0cb9f0..2ad631cc59 100644
--- a/server/mpm/beos/beos.c
+++ b/server/mpm/beos/beos.c
@@ -350,14 +350,14 @@ static int32 worker_thread(void * dummy)
(request_rec*)NULL);
apr_poll_setup(&pollset, num_listening_sockets, tpool);
+ for(n=0 ; n <= num_listening_sockets ; n++)
+ apr_poll_socket_add(pollset, listening_sockets[n], APR_POLLIN);
while (1) {
/* If we're here, then chances are (unless we're the first thread created) we're going
to be held up on the accept_muetx, so doing this here shouldn't be a peformance hit.
If it is, you probably need more threads...
*/
- for(n=0 ; n <= num_listening_sockets ; n++)
- apr_poll_socket_add(pollset, listening_sockets[n], APR_POLLIN);
this_worker_should_exit |= (ap_max_requests_per_child != 0) && (requests_this_child <= 0);