httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marc Slemko <>
Subject Is $| =1 really a good idea in (fwd)
Date Tue, 17 Mar 1998 00:44:36 GMT
Grumble.  Oh yea, disabling Nagle breaks modules that don't use their
own buffering too.

More advanced buffering features with better magic flushing or doing the
work to figure out if you can safely leave Nagle enabled are probably
worthwhile at some point.  Sigh.

---------- Forwarded message ----------
Date: Mon, 16 Mar 1998 16:04:20 -0500
From: George Carrette <George_Carrette@IACNET.COM>
Reply-To: Discussion about the Apache ModPerl Module
Subject: Is $| =1 really a good idea in

The code appears to turn on line-at-a-time output mode,

   $| = 1;

if running under Apache's CGI-Perl.

Maybe things have changed enough so that this is no longer a problem,
but using $| = 1 used to cause many extra tcp-ip packets to be transmitted,
by the web server, and so was a very bad idea, indeed.

Does anybody know why Lincoln D. Stein included this code?

$CGI::revision = '$Id:,v 1.8 1997/12/19 20:12:28 lstein Exp lstein $';

View raw message