Return-Path: X-Original-To: apmail-httpd-dev-archive@www.apache.org Delivered-To: apmail-httpd-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 99B1DDC09 for ; Mon, 10 Dec 2012 22:15:56 +0000 (UTC) Received: (qmail 49036 invoked by uid 500); 10 Dec 2012 22:15:55 -0000 Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 48982 invoked by uid 500); 10 Dec 2012 22:15:55 -0000 Mailing-List: contact dev-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list dev@httpd.apache.org Received: (qmail 48974 invoked by uid 99); 10 Dec 2012 22:15:55 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Dec 2012 22:15:55 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=5.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [188.40.99.202] (HELO eru.sfritsch.de) (188.40.99.202) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Dec 2012 22:15:49 +0000 Received: from [10.1.1.6] (helo=k.localnet) by eru.sfritsch.de with esmtp (Exim 4.72) (envelope-from ) id 1TiBdH-0006WF-9i for dev@httpd.apache.org; Mon, 10 Dec 2012 23:15:27 +0100 From: Stefan Fritsch To: dev@httpd.apache.org Subject: Re: svn commit: r1419755 - /httpd/httpd/trunk/modules/http/http_filters.c Date: Mon, 10 Dec 2012 23:15:26 +0100 User-Agent: KMail/1.13.7 (Linux/3.2.0-4-amd64; KDE/4.8.4; x86_64; ; ) References: <20121210205325.4364D238897F@eris.apache.org> <50C64E88.1090400@wanadoo.fr> In-Reply-To: <50C64E88.1090400@wanadoo.fr> MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <201212102315.26567.sf@sfritsch.de> X-Virus-Checked: Checked by ClamAV on apache.org On Monday 10 December 2012, Marion & Christophe JAILLET wrote: > Just above this, there is the following comment : > /* > * Date and Server are less interesting, use TRACE5 for > them while * using TRACE4 for the other headers. > */ > However, I don't see where the other headers are logged. It's done in send_all_header_fields() which sends everything except "Date" and "Server". The comment is here because the trace4 for the ", headers:" string does not match the trace5 of the Server+Date header. > You can find a little above: > ap_log_rerror(APLOG_MARK, APLOG_TRACE3, 0, r, > "Response sent with status %d%s", > r->status, > APLOGrtrace4(r) ? ", headers:" : ""); > but, IMO, it does not log the headers, it only prints "headers: ". > Apparently, it has been that way, since the beginning in > http://svn.apache.org/viewvc?view=revision&sortby=date&revision=963057 > > Should something be added here to match the comment, or remove the > comment ? Neither. But maybe add a comment that points to send_all_header_fields()?