Stas Bekman wrote:
Steve, I still want you to followup on the suggestions I made in the previous post, however this should fix the problem. Thanks.
Hurrah! I've just done 12 runs each with and without APACHE_TEST_PRETEND_NO_LWP set, and all 24 ran OK.
I think you've cracked it at last. Well done!
Thanks Steve, even though this is not what I wanted but it makes the test safe and I've documented what should the filter writer should do in this situation (consume all the data).
+ + # tell Apache to get rid of the rest of the request body + # if we don't a client will get a broken pipe and may fail to + # handle this situation gracefully + $r->discard_request_body; + my $len = length $data; debug "HANDLER READ: $len bytes\n"; $r->print($len);
__________________________________________________________________ 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
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
