Restarts were hosed after the APR changes because we were opening

sockets even when we had them open already. So, for now, add an "active"
flag that indicates whether the socket stored in the listen_rec is an
actual open socket yet.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83918 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Manoj Kasichainula
1999-09-24 22:01:21 +00:00
parent 76eaf4d395
commit 9686424b64
2 changed files with 14 additions and 3 deletions

View File

@ -64,6 +64,7 @@ typedef struct ap_listen_rec ap_listen_rec;
struct ap_listen_rec {
ap_listen_rec *next;
ap_socket_t *sd;
int active;
/* more stuff here, like which protocol is bound to the port */
};