what does a server do when it has no default listener? i.e. what's the
point again?
(does the child_main code even work when the listener ring is empty?? i
swear it'll core dump, but i haven't looked.)
-dean
On Wed, 16 May 2001, Danek Duvall wrote:
> Any comment on the following patch?
>
> Thanks,
> Danek
>
> Two weeks ago, I wrote:
>
> > Index: server/listen.c
> > ===================================================================
> > RCS file: /home/cvspublic/httpd-2.0/server/listen.c,v
> > retrieving revision 1.53
> > diff -u -r1.53 listen.c
> > --- server/listen.c 2001/04/05 19:04:14 1.53
> > +++ server/listen.c 2001/05/03 22:27:58
> > @@ -275,6 +275,8 @@
> >
> > /* allocate a default listener if necessary */
> > if (ap_listeners == NULL) {
> > + if (ap_exists_config_define("NO_DEFAULT_LISTENER"))
> > + return -1;
> > alloc_listener(process, NULL, port ? port : DEFAULT_HTTP_PORT);
> > }
> >
>