Hi,
still in the process of building an Input Connection Filter I noticed something wrong with all Connection Filter examples I could find (including HTTPHeadersFixup), in case the connection is instructed to be kept open with 'Connection: Keep-Alive', several requests will be run through the same instance of the filter, therefore it is not possible to safely ignore the possible body of a POST (or DAV) request. One must keep track of Content-Length and only ignore body if 'Connection: close' was issued (as per RFC 2616).
Anybody else aware of that?
Not me. I'm still learning the topic ;) Thanks for the heads up, Mathias. I have never tried with 'Connection: Keep-Alive', though I think there must be a better way to tell separate requests from each other. I'll investigate this and get followup on this.
__________________________________________________________________ Stas Bekman JAm_pH ------> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com
-- Reporting bugs: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html