Received: by taz.hyperreal.com (8.8.4/V2.0) id TAA29593; Sun, 9 Mar 1997 19:08:07 -0800 (PST) Received: from bilge-gw.topsail.org by taz.hyperreal.com (8.8.4/V2.0) with ESMTP id TAA29572; Sun, 9 Mar 1997 19:08:01 -0800 (PST) Received: from argo.topsail.org ([172.16.86.5]) by bilge-gw.topsail.org (8.7.5/8.7.3) with SMTP id WAA21812 for ; Sun, 9 Mar 1997 22:07:58 -0500 (EST) Message-ID: <33237B0D.773C2448@topsail.org> Date: Sun, 09 Mar 1997 22:07:57 -0500 From: Chuck Murcko Organization: The Topsail Group X-Mailer: Mozilla 3.01Gold (X11; I; FreeBSD 2.1.5-RELEASE i386) MIME-Version: 1.0 To: new-httpd@hyperreal.com Subject: Re: [PATCH] clear memory allocated for listeners References: <199703072004.OAA14897@sierra.zyzzyva.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: new-httpd-owner@apache.org Precedence: bulk Reply-To: new-httpd@hyperreal.com +1. Works fine here. Randy Terbush wrote: > > Index: http_core.c > =================================================================== > RCS file: /export/home/cvs/apache/src/http_core.c,v > retrieving revision 1.70 > diff -c -r1.70 http_core.c > *** http_core.c 1997/02/17 10:46:06 1.70 > --- http_core.c 1997/03/07 03:52:14 > *************** > *** 1115,1121 **** > } else > ports = ips; > > ! new=palloc(cmd->pool, 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); > --- 1115,1121 ---- > } else > ports = ips; > > ! new=pcalloc(cmd->pool, 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); -- chuck Chuck Murcko The Topsail Group, West Chester PA USA chuck@topsail.org