Received: (qmail 13810 invoked by uid 501); 14 Jan 2002 11:51:19 -0000 Message-Id: <20020114115119.13809.qmail@apache.org> Date: 14 Jan 2002 11:51:19 -0000 From: Glenn Strauss Reply-To: gs-apache@gluelogic.com To: submit@bugz.apache.org Subject: data corruption and long (multi-second) response time w/ include virtual calls /cgi-bin which uses proxypass and the resulting server uses Pragma: no-cache X-Send-Pr-Version: 3.110 >Number: 9473 >Category: mod_include >Synopsis: data corruption and long (multi-second) response time w/ include virtual calls /cgi-bin which uses proxypass and the resulting server uses Pragma: no-cache >Confidential: no >Severity: non-critical >Priority: medium >Responsible: apache >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Mon Jan 14 04:00:00 PST 2002 >Closed-Date: >Last-Modified: Mon Jan 14 05:10:00 PST 2002 >Originator: gs-apache@gluelogic.com >Release: 1.3.22 >Organization: apache >Environment: netspace ~ -> uname -a Linux netspace.org 2.4.14 #2 SMP Sun Nov 25 19:42:33 EST 2001 i686 unknown >Description: Two Apache instances. a) http://www.netspace.org runs with mod_include and mod_proxy ProxyPass /cgi-bin/utils http://perl.netspace.org/utils/ b) http://perl.netspace.org is a mod_perl server On www.netspace.org, an .shtml file includes something like Random_file is a simple script which returns a random line from the file. It's nice and fast. However, when random_file sets $r->header_out('Pragma','no-cache'); in the Perl script, the .shtml file ends up with spurious data surrounding the returned line from the file. It also takes multiple seconds before completing. This does NOT happen when the perl server is accessed directly as http://perl.netspace.org/utils/random_line?file=/foo/bar/baz.txt (even with Pragma: no-cache set). Nor does this happen when accessed as http://www.netspace.org/utils/random_line?file=/foo/bar/baz.txt. The problem only occurs when called from the .shtml file part of the