httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Greg Ames <grega...@remulak.net>
Subject Re: cvs commit: httpd-2.0/server/mpm/prefork prefork.c
Date Thu, 11 Oct 2001 22:47:38 GMT
Jeff Trawick wrote:
> 
> gregames@apache.org writes:
> 
> > gregames    01/10/11 09:28:23
> >
> >   Modified:    server/mpm/prefork prefork.c
> >   Log:
> >   fix another seg fault.
> >   @@ -663,12 +663,14 @@
> >               }
> >               first_lr=lr;
> >               do {
> >   -                    apr_os_sock_get(&sockdes, lr->sd);
> >   -               if (FD_ISSET(sockdes, &main_fds))
> >   -                   goto got_listener;
> >   -               lr = lr->next;
> >   -               if (!lr)
> >   -                   lr = ap_listeners;
> >   +                    if (lr->active) {
> >   +                        apr_os_sock_get(&sockdes, lr->sd);
> >   +                   if (FD_ISSET(sockdes, &main_fds))
> >   +                       goto got_listener;
> >   +                        lr = lr->next;
> >   +                        if (!lr)
> >   +                            lr = ap_listeners;
> >   +                    }
> 
> I think that what needs to happen is to get inactive records out of
> the ap_listeners list.

For sure.  I was thinking the same when I hit this seg fault, but took
the easy way out so I could move on to other bugs.

Greg

Mime
View raw message