You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Tony Sanders <sa...@bsdi.com> on 1996/04/25 22:16:25 UTC

Re: apache spin loop

As I thought, Dean's problem appears to be fixed by the ``char
buff[24]'' patch.  Here is the patch I sent him in case anyone else
needs it.  This patch makes it like the 1.1b2 code.

It might be a good idea to release this as at least an unofficial
patch.  I hope to integrate apache 1.0.5 into BSD/OS and release
an official BSDI update soon.

*** mod_dir.c.orig	Wed Apr 24 12:45:48 1996
--- mod_dir.c	Thu Apr 25 13:15:04 1996
***************
*** 617,623 ****
  		t2 = pstrcat(scratch, t2, "</A>", NULL);
              } else 
  	    {
! 		char buff[23]="                       ";
  		t2 = escape_html(scratch, t);
  		buff[23-len] = '\0';
  		t2 = pstrcat(scratch, t2, "</A>", buff, NULL);
--- 617,623 ----
  		t2 = pstrcat(scratch, t2, "</A>", NULL);
              } else 
  	    {
! 		char buff[24]="                       ";
  		t2 = escape_html(scratch, t);
  		buff[23-len] = '\0';
  		t2 = pstrcat(scratch, t2, "</A>", buff, NULL);

------- Forwarded Message

Date:    Thu, 25 Apr 1996 14:20:16 -0500
From:    "Dean A. Roth" <de...@myp.com>
To:      sanders@bsdi.com (Tony Sanders)
Subject: Re: apache spin loop
Received: from external.BSDI.COM (external.BSDI.COM [205.230.225.1]) by austin.bsdi.com (8.7.3/8.7.3) with ESMTP id OAA00724 for <sa...@austin.bsdi.com>; Thu, 25 Apr 1996 14:25:07 -0500 (CDT)
Received: from mixcom.mixcom.com (mixcom.mixcom.com [198.137.186.100]) by external.BSDI.COM (8.7.4/8.7.3) with SMTP id NAA29408 for <sa...@bsdi.com>; Thu, 25 Apr 1996 13:24:48 -0600 (MDT)
Received: by mixcom.mixcom.com (8.6.12/2.2) id OAA09956; Thu, 25 Apr 1996 14:20:16 -0500
Message-Id: <19...@mixcom.mixcom.com>
In-Reply-To: <19...@austin.bsdi.com> from "Tony Sanders" at Apr 25, 96 01:20:01 pm
X-Mailer: ELM [version 2.4 PL23]
Content-Type: text

- 
- I applied the patch and tried again. Thus far (about 30 minutes) it has been
- running fine, which is far better than what happened yesterday.
- 
- Dean

------- End of Forwarded Message