httpd-apreq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eli Marmor <mar...@netmask.it>
Subject Re: Earliest Hook to Inspect POST Params
Date Mon, 02 Aug 2004 04:18:42 GMT
Now a more serious question:

If I'm a (reverse) proxy, and I want to parse POST requests passing
through me, where is the right place to call apreq_request()?

Currently I have an output filter (doing other things); When reaching
the EOS, it's too late (in any case, the "body" member of the structure
pointer returned by apreq_request is NULL even if there was a body,
which makes sense, because it's too late).

So where exactly should I call apreq_request()?

How do I ensure that the input filter would run before the call, so
when apreq_request() is called, it already has something to parse?

Thanks,
-- 
Eli Marmor
marmor@netmask.it
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

Mime
View raw message