httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eli Marmor <>
Subject Re: Duplicating POST data between modules?
Date Fri, 21 Dec 2001 12:26:04 GMT
Robert Mooney wrote:

> Is there any way to "peek" at client data from a module?  I.e. read without
> removing it?  Specifically, I want my module to be able to read any POST
> data, and allow mod_cgi to process normally.  Using the sample code below,
> mod_cgi does not read any input from STDIN.
> ...
> I was under the impression REQUEST_CHUNK_PASS did what I was looking for, but
> this is not the case.  mod_cgi can read the POST data until I call ap_get_
> client_block(), after which... nothing.
> I'm using Apache 1.3.22.

That's the problem;
Move to 2.0.28, and use Input Filters.

Eli Marmor
CTO, Founder
Netmask (El-Mar) Internet Technologies Ltd.
Tel.:   +972-9-766-1020          8 Yad-Harutzim St.
Fax.:   +972-9-766-1314          P.O.B. 7004
Mobile: +972-50-23-7338          Kfar-Saba 44641, Israel

View raw message