Igor, Why don't you try logging the request size from your mod_perl server? If it turns out that it knows when a request is zero bytes, you can just kill the process in a cleanup handler.
Also, if you identify the PID of the broken process in this way, you can look back through the logs to see what it did on the request before it was broken. - Perrin