perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rainer Perl" <Rainer.P...@nextranet.at>
Subject Content-Length is way to high
Date Fri, 22 Aug 2003 10:30:27 GMT
Hi,

I ran into a problem (embperl-pages are not loaded completely if using a
proxy) which might be related to a strange Content-Length. Look at this:

--snip--
HTTP/1.1 200 OK
Date: Fri, 22 Aug 2003 09:55:05 GMT
Server: Apache/1.3.24 (Linux/SuSE) mod_ssl/2.8.8 OpenSSL/0.9.6a
mod_perl/1.25
pragma: no-cache
expires: 0
Content-Length: 502511174569
Connection: close
Content-Type: text/html

<html>
<head>
 <meta http-equiv="expires" content="0">
 <meta http-equiv="pragma" content="no-cache">
 <style type="text/css">
  body
  {
   font-family:Helvetica;
   background-color="#CCCCF0";
   color="#000000";
  }
  a:visited
  {
   color:blue;
  }
 </style>
</head>
<frameset rows="30,*" framespacing="0" frameborder="0" border="0">
        <frame name="banner" src="banner.epl" frameborder="no"
marginwidth="0" margingheight="0" scrolling="no" noresize>
        <frameset cols="158,*" framespacing="0" frameborder="0"
border="0">
                <frame name="left" src="" frameborder="no"
marginwidth="0" margingheight="0" scrolling="no" noresize>
                <frameset rows="*,35" framespacing="0" frameborder="0"
border="0">
                <frame name="main" src="main.epl" frameborder="no"
scrolling="auto">
                <frame name="footer" src="footer.html" frameborder="no"
marginwidth="0" margingheight="0" scrolling="no" noresize>
                </frameset>
        </frameset>
</frameset>
</html>
--snip-- 

Obviously the content-length is NOT 502511174569, otherwise I'd still
wait for the page to load ;)
I found some messages about incorrect Content-Length in the archives,
but they only mentioned a few bytes difference. Maybe I am missing
something? This happens on 3 different machines, two of them with
identical setup:

SuSE Linux, Kernel 2.4.18-4GB
Apache 1.3.24
Mod_perl 1.25-77
EmbPerl 1.3.4

One of them with:

SuSE Linux, Kernel 2.4.16-4GB
Apache 1.3.19
Mod_perl 1.25-30
EmbPerl 1.3.4

The Content-Length is NOT constant across files; while the above file
reports 502511174569, another reports 502511174231. By doing [reported
content-legth]-[real length of output] I get 502511173632 on both files
(which seems to be the number of keys tested on 31-Mar-2003 by "[DPC]
Henk Bokhoven" for the distributed.net RC5-72 project [which is
absolutely irrelevant of course, but the only result that google came up
with ;) ])

Any hints?

Regards,

	Rainer Perl

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


Mime
View raw message