I would not completely ignore content-length. It can be incorrect sometimes (user agents can lie) but it is useful as upper limit for input data (and I use it as such in my code). I'm not sure but AFAIK under mod_perl you never get 'end of file' from STDIN. So even if content length is correct your code punishes good user agents with 45 seconds delay.
--
Ilya Martynov
(http://martynov.org/)
In reply to Re: Re:x2 Reading RAW POST data
by IlyaM
in thread How do I read POST data that is not encoded, and was submitted without a parameter name
by c-era
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |