Return-Path: X-Original-To: apmail-httpd-users-archive@www.apache.org Delivered-To: apmail-httpd-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4518618E72 for ; Thu, 8 Oct 2015 11:34:58 +0000 (UTC) Received: (qmail 88684 invoked by uid 500); 8 Oct 2015 11:34:21 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 88646 invoked by uid 500); 8 Oct 2015 11:34:21 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 88636 invoked by uid 99); 8 Oct 2015 11:34:21 -0000 Received: from Unknown (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Oct 2015 11:34:21 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id EC265180E1A for ; Thu, 8 Oct 2015 11:34:20 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.03 X-Spam-Level: X-Spam-Status: No, score=-0.03 tagged_above=-999 required=6.31 tests=[RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-us-west.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id PCCBJJ2Qnsij for ; Thu, 8 Oct 2015 11:34:13 +0000 (UTC) Received: from loninmrp41.uk.db.com (loninmrp41.uk.db.com [160.83.61.129]) by mx1-us-west.apache.org (ASF Mail Server at mx1-us-west.apache.org) with ESMTPS id DE52B2031C for ; Thu, 8 Oct 2015 11:34:12 +0000 (UTC) Received: from UCDEDC1PWXMR005.de.db.com (UCDEDC1PWXMR005.de.db.com [10.249.240.5]) by loninmrp41.uk.db.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id t98BXxc2020999 (version=TLSv1 cipher=AES128-SHA bits=128 verify=FAIL); Thu, 8 Oct 2015 11:34:03 GMT Received: from UCDEDC1PWXMR003.de.db.com ([fe80::2d3c:720a:ab87:934d]) by UCDEDC1PWXMR005.de.db.com ([fe80::3d98:6eea:efaa:7c57%26]) with mapi id 14.03.0224.002; Thu, 8 Oct 2015 13:34:03 +0200 From: Mark Blackman To: "mod-auth-cas-dev@lists.wisc.edu" , "users@httpd.apache.org" Thread-Topic: mod_auth_cas confused by POST body split across brigades in input filter. Thread-Index: AdEBvTaEL+BoRSwHS9+xivibSeJoRQ== Date: Thu, 8 Oct 2015 11:34:02 +0000 Message-ID: <39A0AA41C90BDA42BEB03EF9F45DC3F80A058AD2@UCDEDC1PWXMR003.de.db.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-tituslabs-classifications-30: TLPropertyRoot=db.com;Classification=Public; x-titus-version: 3.5.32.17 x-tituslabs-classificationhash-30: RaRO4W6dxxFNWVhiQxYnF6mjUggtpL2y8pludIKBRhsGVHLMOcYq66C/Gox0vdvNMVOILZrDjrOtoprsITcyBokelXrj/CTrF7c5Edx/egmS706birThcqpOMBZHhGyTUpq6HH4vPqNBNcfxYjq3x8pAjp3xTivKUwkRrE56URMVOUWAnl7cRtZAq2qK/S+Cdl85oEuVPzW2XjP7vVy0uMmTsjYECcjAiGb9KqAq280HM8KdMPElBY7Z6LBlRAdb x-originating-ip: [10.249.241.229] x-trailer: Yes Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: [users@httpd] mod_auth_cas confused by POST body split across brigades in input filter. Classification: Public Hi, I'm querying some unexpected behaviour I'm seeing with the mod_auth_cas mod= ule under Apache 2.2. I've got debug messages like the following. [Thu Oct 01 08:56:44 2015] [debug] mod_auth_cas.c(2769): read 1 bytes (l) f= rom incoming buckets\n [Thu Oct 01 08:56:44 2015] [debug] mod_auth_cas.c(2769): read 475 bytes (og= outRequest=3D%3Csamlp%3ALogoutRequest...) from incoming buckets\n Looking at the mod_auth_cas code on github corresponding to these lines https://github.com/Jasig/mod_auth_cas/blob/master/src/mod_auth_cas.c#L2635 This tells me that cas_in_filter is getting called twice for the same reque= st with the POST body split across two calls, first 1 byte, then a second = time with 475 bytes. I'd have expected a single call with 476 bytes, can anyone give me some clu= es why the filter is called twice for a single request? Is mod_auth_cas mea= nt to assume the input filter can be called more than once per request? Cheers, Mark --- This e-mail may contain confidential and/or privileged information. If you = are not the intended recipient (or have received this e-mail in error) plea= se notify the sender immediately and delete this e-mail. Any unauthorized c= opying, disclosure or distribution of the material in this e-mail is strict= ly forbidden. Please refer to http://www.db.com/en/content/eu_disclosures.htm for additio= nal EU corporate and regulatory disclosures and to http://www.db.com/united= kingdom/content/privacy.htm for information about privacy. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org