Szymon Juraszczyk wrote: > > On Sun, 2001-12-23 at 20:36:20, Joshua Chamas wrote: > > [ ... ] > > > I suspect that mod-perl is buffering something. Your code does > > > $Response->{'r'}->print() in Flush() - I checked that. Maybe my > > > modperl-enabled Apache is kind of lame? I use apache-perl-1.3.22-2-1.26-3 > > > Debian package. > > > > > > > This should work. What if you put the Flush() in the for loop. > > I wonder whether your browser needs to see more than one flush > > to start rendering. > >
Did you ever try the example ./site/eg/register_cleanup.asp from the Apache::ASP distribution on your system? If it works, then flushing might not be working because of your other script in particular, and this might help isolate the problem. Also, if you are using a web proxy front end to a mod_perl server which buffers output like mod_proxy in reverse proxy mode, then flushing will likely not work because your output gets buffered by the proxy server. If your mod_perl server is running on a high port like 8080, but you make requests to port 80, then you likely have this kind of configuration. There was recent talk on the mod_perl list of a module like mod_proxy called mod_accel which may pass output to the client as it gets flushed from the mod_perl server, so you might try this if you need Flush() to work, and you need the dual httpd config. --Josh _________________________________________________________________ Joshua Chamas Chamas Enterprises Inc. NodeWorks Founder Huntington Beach, CA USA http://www.nodeworks.com 1-714-625-4051 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]