perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Perrin Harkins <>
Subject Re: Problem with PerlCleanupHandler
Date Mon, 06 Nov 2006 21:28:14 GMT
On Thu, 2006-11-02 at 16:44 -0600, Steve Johnson wrote:
> In testing this out, it works pefectly when testing with curl using a
> simple GET.  It sends me a response almost immediately, but if i watch
> the logs, it processes the cleanuphandler method like it should, after
> i already received the response (testing this using a sleep 5; in the
> top of sub send_to_client).  However, as soon as I change my request
> to a POST, it is blocking.  The request hangs and doesn't send the
> response to the client until after the Cleanup method has completed.
> Is this proper behaviour?

I don't think so.  I've never observed this.  Is it possible that you're
seeing buffering here?  You can try turning that off with $|=1 and see
what happens.

- Perrin

View raw message