httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sam Varshavchik <>
Subject [users@httpd] Buffering of script output in 2.0.40
Date Sun, 15 Dec 2002 04:41:04 GMT
After upgrading from 1.3 to 2.0 it appears that output of CGI scripts is 
buffered, and is not sent to the browser until the script completes.  

echo "Content-Type: text/plain"
echo ""
echo ""
sleep 5
env | sort

Running this script under 2.0.40 results in a five second pause, followed by 
"BUFFERED" and the environment.

A google search reveals that script buffering used to be the default in 1.2, 
and the default in 1.3 was unbuffered.  It's not clear why script output is 
buffered in 2.0.  Is there a way to get unbuffered script output in 2.0?

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message