Received: by taz.hyperreal.com (8.6.12/8.6.5) id EAA02382; Sat, 14 Oct 1995 04:37:33 -0700 Received: from arachnet.algroup.co.uk by taz.hyperreal.com (8.6.12/8.6.5) with SMTP id EAA02377; Sat, 14 Oct 1995 04:37:29 -0700 Received: from heap.ben.algroup.co.uk by arachnet.algroup.co.uk id aa15087; 14 Oct 95 12:36 BST Received: from gonzo.ben.algroup.co.uk by heap.ben.algroup.co.uk id aa28652; 14 Oct 95 12:37 BST Subject: Whoops! To: Apache Mailing List Date: Sat, 14 Oct 1995 12:01:39 +0100 (BST) From: Ben Laurie X-Mailer: ELM [version 2.4 PL24 PGP2] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Length: 1128 Message-ID: <9510141201.aa27733@gonzo.ben.algroup.co.uk> Sender: owner-new-httpd@apache.org Precedence: bulk Reply-To: new-httpd@apache.org Just noticed a bug in the 07_SocketMemLeak patch... non-fatal, I guess this should go in the 0.8.15 patchlist (if someone could put it there, please) From: ben@algroup.co.uk (Ben Laurie) Subject: Use pfclose() on timeout Affects: http_main.c Changelog: Use pfclose() instead of fclose() on a timeout. *** ../../apache_0.8.14/src/http_main.c Tue Sep 19 17:05:01 1995 --- http_main.c Sat Oct 14 11:54:41 1995 *************** *** 255,262 **** log_transaction(timeout_req); ! fclose (timeout_req->connection->client); ! fclose (timeout_req->connection->request_in); if (!standalone) exit(0); #ifdef NEXT --- 255,262 ---- log_transaction(timeout_req); ! pfclose (timeout_req->connection->pool,timeout_req->connection->client); ! pfclose (timeout_req->connection->pool,timeout_req->connection->request_in); if (!standalone) exit(0); #ifdef NEXT Cheers, Ben. -- Ben Laurie Phone: +44 (181) 994 6435 Freelance Consultant Fax: +44 (181) 994 6472 and Technical Director Email: ben@algroup.co.uk A.L. Digital Ltd, London, England.