httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dirk.vanGulik" <Dirk.vanGu...@jrc.it>
Subject Re: [BUG]: "Can't use multiple "Listen" in httpd.conf" on Irix
Date Fri, 07 Mar 1997 18:11:15 GMT
> From new-httpd-owner@apache.org Fri Mar  7 20:06:23 1997
> Delivered-To: new-httpd@qmail.hyperreal.com

> Just checked it on our crappy sun compiler (which does
	  			^^^
Sorry, I am dead wrong there; I tried it in the Indy; and
that is the irix5.3 one; which comes out of the box. gcc 
works fine.

> not null bits of memory) and it seems that the guy is
> right. This is certainly not my area; but it does cause
> things to work.
> 
> Dw.
> 
> > Thanks for the info. We'll consider it for the next beta.
> > 
> > cheers,
> > rob
> > 
> > On Fri, 7 Mar 1997 anders.kagervall@passagen.se wrote:
> > 
> > > Submitter: anders.kagervall@passagen.se
> > > Operating system: Irix, version: 5.3
> > > Version of Apache Used: 1.2b7
> > > Extra Modules used: 
> > > URL exhibiting problem: 
> > > 
> > > Symptoms:
> > > --
> > > If I use mutiple "Listen" directives in httpd.com
> > > the daemon exits with the message:
> > > bind: Cannot assign requested address
> > > httpd: could not bind to address 1.2.3.4 port 8888
> > > 
> > > In http_main.c the struct sa_server is zeroed before use.
> > > The following patch which does the same thing with
> > > listeners seems to fix the problem.
> > > *** http_core.c.orig    Thu Mar  6 23:49:55 1997
> > > --- http_core.c Thu Mar  6 23:44:45 1997
> > > ***************
> > > *** 1116,1121 ****
> > > --- 1116,1122 ----
> > >         ports = ips;
> > >   
> > >       new=palloc(cmd->pool, sizeof(listen_rec));
> > > +     memset((char *) new, 0, sizeof(listen_rec));
> > >       new->local_addr.sin_family = AF_INET;
> > >       if (ports == ips) /* no address */
> > >         new->local_addr.sin_addr.s_addr = htonl(INADDR_ANY);
> > > 
> > > --
> > > 
> > > Backtrace:
> > > --
> > > 
> > > --
> > > 
> > > 
> > 
> > _______________________________________________________________________
> > The Oscars(R) are coming.. http://us.imdb.com/Oscars/oscars_1996
> > 			.. no hype, just the facts.
> > 
> > 
> 
> 


Mime
View raw message