Return-Path: Delivered-To: apmail-httpd-dev-archive@www.apache.org Received: (qmail 90641 invoked from network); 21 Aug 2010 22:37:29 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 21 Aug 2010 22:37:29 -0000 Received: (qmail 93943 invoked by uid 500); 21 Aug 2010 22:37:28 -0000 Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 93853 invoked by uid 500); 21 Aug 2010 22:37:27 -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 93845 invoked by uid 99); 21 Aug 2010 22:37:27 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 21 Aug 2010 22:37:27 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of minfrin@sharp.fm designates 72.32.122.20 as permitted sender) Received: from [72.32.122.20] (HELO chandler.sharp.fm) (72.32.122.20) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 21 Aug 2010 22:37:20 +0000 Received: from chandler.sharp.fm (localhost [127.0.0.1]) by chandler.sharp.fm (Postfix) with ESMTP id 544912C85C9 for ; Sat, 21 Aug 2010 17:36:59 -0500 (CDT) Received: from [10.0.0.251] (87-194-125-18.bethere.co.uk [87.194.125.18]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (Client did not present a certificate) (Authenticated sender: minfrin@sharp.fm) by chandler.sharp.fm (Postfix) with ESMTP id F1C6B2C85C7 for ; Sat, 21 Aug 2010 17:36:58 -0500 (CDT) Message-Id: <471B3896-E24F-4E1B-8D6B-2A62B23955BC@sharp.fm> From: Graham Leggett To: dev@httpd.apache.org Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v936) Subject: Connection filters and the proxy Date: Sun, 22 Aug 2010 00:36:57 +0200 X-Mailer: Apple Mail (2.936) X-Virus-Scanned: ClamAV using ClamSMTP Hi all, I have a connection filter based on mod_dumpio that reads data coming into and out of the server, however this filter gets inserted twice - once normally within the normal filter stack, and a second time within the proxy's backend connection filter stack. I need the filter to be able to distinguish whether it is running normally or through a proxy, and a look in the mod_proxy code doesn't show a clear marker to indicate which conn_rec structure is which. Am I missing something? Regards, Graham --