]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Change method of checking for active FDs after poll() in the pthread
authorManoj Kasichainula <manoj@apache.org>
Tue, 29 Jun 1999 02:49:29 +0000 (02:49 +0000)
committerManoj Kasichainula <manoj@apache.org>
Tue, 29 Jun 1999 02:49:29 +0000 (02:49 +0000)
MPM. The new method doesn't require any changes to the listen
abstraction.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83394 13f79535-47bb-0310-9956-ffa450edef68

include/ap_listen.h
server/listen.c

index 8e7b7a73b8267a51881a8ed97c28499251700c4d..600f6fca28d7cef2236c68dfbac4a5727f123dfb 100644 (file)
@@ -64,7 +64,6 @@ struct ap_listen_rec {
     struct sockaddr_in local_addr;     /* local IP address and port */
 /* TODO: replace the fd with APR stuff */
     int fd;
-    int index; /* index into pollfd array */
 /* more stuff here, like which protocol is bound to the port */
 };
 
index 6671137f060633dd3aee347bcc8c4c942994ff11..9f7c121b7345a51a3a09d8b1cbeb9f7bad783081 100644 (file)
@@ -182,7 +182,6 @@ static void alloc_listener(struct sockaddr_in *local_addr)
     new = malloc(sizeof(ap_listen_rec));
     new->local_addr = *local_addr;
     new->fd = -1;
-    new->index = -1;
     new->next = ap_listeners;
     ap_listeners = new;
 }