Modperl + ASP-perl buffering problems

2001-12-26 Thread Szymon Juraszczyk

  Hi,

  I use Apache-1.3.22 + modperl-1.26 and Apache::ASP 2.29. I experience
problems with Apache::ASP $Response-Flush() method, which is supposed to
push already printed data to the client. Although this Flush() method calls
print() method from modperl's Apache request object, the data are still
getting buffered somewhere. The magic $| = 1 in Apache::ASP code doesn't
seem to help. The author of Apache::ASP module says it used to work with
previous versions of Apache and modperl. I even tried manually calling
rflush() method but it didn't help either.
  Are there any mechanisms in modperl code that buffer the data? How to make
Flush() method from Apache::ASP work then?

Regards,
-- 
Szymon Juraszczyk, [EMAIL PROTECTED]
Surfland Computer Systems S.A.
tel. +48 71 78-02-952, http://www.ssk.com.pl/



Re: Modperl + ASP-perl buffering problems

2001-12-26 Thread Szymon Juraszczyk

On Wed, 2001-12-26 at 21:50:49, Ged Haywood wrote:

 Hi there,
 
 On Wed, 26 Dec 2001, Szymon Juraszczyk wrote:
 
  I use Apache-1.3.22 + modperl-1.26 and Apache::ASP 2.29. I experience
  problems with Apache::ASP $Response-Flush() method,
 [snip]
  the data are still getting buffered somewhere.
 
 Can you be sure that it isn't a browser which is doing the buffering?
 Have you monitored the tcp connection?  Try tcpdump or something?

  Actually it eventually appears to be browser problem. I must have been to
tired when I was testing it under Links (but it certainly did not work with
the oldest version of Apache::ASP, wchich did not use $| = 1 magic at all).
Now I'm doing tests in a text browser and amazingly it works! In MSIE it all
depends very subtly on the page contents.

  Sorry for false alert... :-)

Regards,
-- 
Szymon Juraszczyk, [EMAIL PROTECTED]