Re: Almost perfect ..

From: Dancer <dancer@dont-contact.us>
Date: Mon, 09 Aug 1999 23:46:24 +1000

Martin Svensson wrote:
>
> Hi!
>
> We have our squid-box caching two ways out on the internet. It selects
> the ways out depending from which domain you come from.
>
> The are three small annoying things happening quite often that I would
> like to get rid of.
>
> 1. Sometimes when you try to connect netscape/ie says:
> Connecting to our_proxy.mas.lu.se and sometimes it says:
> Connected to www.xyz.com, waiting for reply
>
> It can stand there for a very long time (20 sec) before the website
> comes, but when it finally comes it goes very fast (most of the sites
> are cached I guess).

Sounds like:
(a) DNS lookup problems, or
(b) A close relative of your second problem.

> 2. In both ie/netscape when you open a webpage, on the top of the site
> alot of html-code shows. It can be html-code of a total other site but
> it still is there, if you reload the site it disappears. This doesn't
> happen so very often.

This is a persistent connection bug. The most common cause is something
adding HTML code to a web-page without updating the content-length
correctly. Most browsers try to hide little details like this (by
continuing to read until data stops coming) but it shows up if there's a
delay in transmission after the number of bytes specified in the
content-length has been sent to the browser.

Check: is something inserting a navigation-bar or advertising banner at
the top or bottom of pages? If so, then that's your culprit. I, myself,
have stuff that adds to in-transit HTML, and I made this self-same
mistake with forgetting to update the content-length headers correctly.

D
Received on Mon Aug 09 1999 - 07:36:58 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:47:53 MST