Loading ...
Sorry, an error occurred while loading the content.

67189Re: [mp2] $| doesn't work with mod_perl

Expand Messages
  • Tom Schindl
    Sep 23, 2005
      Hash: SHA1

      Does $r->rflush(); help? Although it should do the same then seting $|
      to undef.


      Tom Schindl wrote:
      > pradeep kumar wrote:
      >>>Can you please elaborate on why apache filters can be an issue with the
      >>>autoflush problem that I noticed ?
      >>>Also, I noticed that the autoflush work properly when I flush it to a
      >>>regular file. Its only when I choose STDOUT that the flushing gets
      >>>delayed. Is there some buffering that happens with STDOUT alone ? I am
      >>>confused if this is a modperl problem or an Apache problem.
      > Well I guess that I read it a while ago but I'm not sure of. As far as I
      > understand the Apache2-Filter-System because a bucket is only sent to
      > the filter system after the BUFFER is full. But I really have no idea
      > what happens behind the scences after the print-call.
      > Maybe Stas, Geoff or someone else can look at this and tell you more.
      > Tom
      -----BEGIN PGP SIGNATURE-----
      Version: GnuPG v1.4.0 (GNU/Linux)
      Comment: Using GnuPG with Mandriva - http://enigmail.mozdev.org

      -----END PGP SIGNATURE-----
    • Show all 12 messages in this topic