mod_auth_cas confused by POST body split across brigades in input filter.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Classification: Public

Hi,

I'm querying some unexpected behaviour I'm seeing with the mod_auth_cas module 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) from incoming buckets\n
[Thu Oct 01 08:56:44 2015] [debug] mod_auth_cas.c(2769): read 475 bytes (ogoutRequest=%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 request 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 clues why the filter is called twice for a single request? Is mod_auth_cas meant 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) please notify the sender immediately and delete this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden.

Please refer to http://www.db.com/en/content/eu_disclosures.htm for additional EU corporate and regulatory disclosures and to http://www.db.com/unitedkingdom/content/privacy.htm for information about privacy.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx





[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux