perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Foo Ji-Haw <jhfoo...@extracktor.com>
Subject can mp2 flush response output to the client, then continue processing?
Date Thu, 09 Mar 2006 03:14:29 GMT
Hi all,

I'm wondering if modperl can do the following:

When responding to a http post/get, it will send a simple response to 
the client, close the connection, but continue to do some processing. 
Pseudo-code is as follows:

sub handler
{
    my $r = shift;
    print "OK";
    $r->flush;
    $r->closeConnection;

    doMoreWork();
}


The basis for the need is because I am thinking of having my process 
call itself (but another uri) to activate another process.

Appreciate any tips you can offer. Thanks.

Mime
View raw message