I was wondering if Apache supports server-side-push.
I have the following problem: a cgi (perl) script catches the output
of a ping command from a pipe and I wish to see the output on the web
page in real time but it seems that Apache buffers the document until
the script dies.
I have also tried to set the $| special variable so that perl flushes
STDOUT after each print statement but it still doesn't work.
Here is the source code for that part of the script:
open (PING, "ping $hostname |");
print "<pre>\n";
print while (<PING>);
print "</pre>\n";
close (PING);
Any ideas? Please, when replying do a CC at my email address as this
is quite an urgent thing I have to solve. Many thanks in advance.
-----------------------------------------------
Mirko Caserta
http://www.fr.flashnet.it/
PGP public key available