Re: SV: Limited lenght of validated document?

On Fri, 24 Jun 2005 13:39:01 +0100 Nick Kew <nick@webthing.com> wrote:
> On Friday 24 June 2005 10:31, you wrote:
> > On Fri, Jun 24, 2005, Jens Backeman wrote:
> > > I'm trying to write my pages along with the XHTML standard and this
> > > validator is great. My only problem with it is that it can only take
> > > about ~3800 characters, and that's not a very long page. Especially not
> > > if you have a story or something on the page.
> >
> > Hi, well, this one for example: http://ap.backeman.se/
> 
> That page is cut off in the middle when I look at it.
> Conclusion: your server is broken, and is sending a partial page.
> 
> My guess would be that you're doing something in PHP to break it.

it is pretty sure not a php problem...
if you try a couple times, the connection just breaks at random points in
the page, if it was a php error, it should always be in the same spot.
also the server is somewhat slow responding (from my dsl i've had some
requests to it take over three minutes - probably partially because my
connection already has some packet loss, and together with a broken peer
it causes more problems).
i would suggest to check the server's network connection/configuration -
something is badly broken there.

$ time echo -en 'GET /ap/ HTTP/1.0\r\nHost: www.backeman.se\r\nConnection: close\r\n\r\n' | nc -vv www.backeman.se 80
DNS fwd/rev mismatch: jenz.ath.cx != di
jenz.ath.cx [213.65.155.35] 80 (www) open
HTTP/1.1 200 OK
Date: Fri, 24 Jun 2005 15:28:11 GMT
Server: Apache/1.3.33 (Unix) PHP/5.0.3 mod_ssl/2.8.22 OpenSSL/0.9.7d
X-Powered-By: PHP/5.0.3
Connection: close
Content-Type: text/html

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
...
                        <a href="?page=ranks" style="text-decoration: none;"><img border="0" src="gfx/teleport.gif" alt="Rankings" /><br />Ranks</a>
                        <br />
                        <br />
                        <a href="?page=about" style="text-decoration:  sent 63, rcvd 2048

real    1m40.513s  <---- !!!!
user    0m0.012s
sys     0m0.007s


- Thorben Thuermer

Received on Friday, 24 June 2005 15:33:28 UTC