Received: by taz.hyperreal.com (8.6.12/8.6.5) id KAA10969; Sat, 17 Feb 1996 10:40:44 -0800 Received: from infinity.c2.org by taz.hyperreal.com (8.6.12/8.6.5) with ESMTP id KAA10964; Sat, 17 Feb 1996 10:40:41 -0800 Received: (from sameer@localhost) by infinity.c2.org (8.7.1/8.6.9) id KAA27790 for new-httpd@hyperreal.com; Sat, 17 Feb 1996 10:34:57 -0800 (PST) Community ConneXion: Privacy & Community: From: sameer Message-Id: <199602171834.KAA27790@infinity.c2.org> Subject: Re: WWW Form Bug Report: "access log has entries with NULL method when read_request() gets a premature EOF" on SunOS 4.x (fwd) To: new-httpd@hyperreal.com Date: Sat, 17 Feb 1996 10:34:54 -0800 (PST) In-Reply-To: <199602170707.XAA21948@taz.hyperreal.com> from "Rob Hartill" at Feb 16, 96 11:07:28 pm X-Mailer: ELM [version 2.4 PL20] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-new-httpd@apache.org Precedence: bulk Reply-To: new-httpd@hyperreal.com I've noticed, btw, that running an old version of the keepalive patch (e, I think?) I get lots of NULL in the logs. > > > no ack > > Forwarded message: > > From nobody@hyperreal.com Fri Feb 16 14:54:05 1996 > > Message-Id: <199602162254.OAA14109@taz.hyperreal.com> > > From: chrisd@name.net > > To: apache-bugs%apache.org@organic.com > > Date: Fri Feb 16 14:54:02 1996 > > Subject: WWW Form Bug Report: "access log has entries with NULL method when read_request() gets a premature EOF" on SunOS 4.x > > > > Submitter: chrisd@name.net > > Operating system: SunOS 4.x, version: > > Extra Modules used: mod_log_common.c > > URL exhibiting problem: > > > > Symptoms: > > -- > > Bug's a strong word. > > > > I notice that entires in the access log appear > > with a "NULL" access method when the error log > > reports a "read timed out" error. I have traced > > this to (I think) the behaviour of read_request() > > when getline()'s call to fgets() returns a NULL > > pointer. This leaves the timeout still set and > > because r->method never gets set, it is filled > > in by log_transaction() as NULL. > > > > I've checked around and this doesn't to be > > part of the Common Log Format spec, although it > > might be. I only noticed the problem because > > it produces odd effects in our log analyzer. > > I'd like to know if this is a deliberate > > choice, and if so, I'll tweak the analyzer. > > > > Lovely server, BTW. > > > > Thanks, > > > > Chris Darroch > > NAME Webmaster > > 416-943-1010x230 > > > > -- > > > > Backtrace: > > -- > > > > -- > > > -- Sameer Parekh Voice: 510-601-9777x3 Community ConneXion, Inc. FAX: 510-601-9734 The Internet Privacy Provider Dialin: 510-658-6376 http://www.c2.org/ (or login as "guest") sameer@c2.org