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
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 */
};
new = malloc(sizeof(ap_listen_rec));
new->local_addr = *local_addr;
new->fd = -1;
- new->index = -1;
new->next = ap_listeners;
ap_listeners = new;
}