perl-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Philip M. Gollucci" <pgollu...@p6m7g8.com>
Subject Re: PerlIOApache_flush() [was $|, flushing, etc... [was Next Release]]
Date Mon, 31 Oct 2005 06:08:27 GMT
Stas Bekman wrote:
 > and if you try my last patch suggestion?

Hi, yikes, I'm behind.... Anyway, I finally got around to trying this.
Same result as without.  Hopefully, at some point during the week, I'll be able 
to turn on tracing and the like and see why nothing changed.

svn diff
Index: src/modules/perl/modperl_io_apache.c
===================================================================
--- src/modules/perl/modperl_io_apache.c        (revision 329512)
+++ src/modules/perl/modperl_io_apache.c        (working copy)
@@ -170,8 +170,10 @@
                                    rcfg->wbucket->outbuf,
                                    rcfg->wbucket->outcnt));

-    MP_RUN_CROAK(modperl_wbucket_flush(rcfg->wbucket, FALSE),
-                 ":Apache2 IO flush");
+    if (rcfg->wbucket->outcnt) {
+        MP_RUN_CROAK(modperl_wbucket_flush(rcfg->wbucket, TRUE),
+                     ":Apache2 IO flush");
+    }

      return 0;
  }

-- 
END
------------------------------------------------------------
     What doesn't kill us can only make us stronger.
                 Nothing is impossible.
				
Philip M. Gollucci (pgollucci@p6m7g8.com) 301.254.5198
Consultant / http://p6m7g8.net/Resume/
Senior Developer / Liquidity Services, Inc.
   http://www.liquidityservicesinc.com
        http://www.liquidation.com
        http://www.uksurplus.com
        http://www.govliquidation.com
        http://www.gowholesale.com

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org


Mime
View raw message