httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rob Hartill <r...@imdb.com>
Subject Re: [BUG]: "Can't use multiple "Listen" in httpd.conf" on Irix
Date Fri, 07 Mar 1997 17:50:37 GMT

Hi,

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