Re: [squid-users] Persistent Connections

From: Mark Nottingham <[email protected]>
Date: Wed, 20 Sep 2006 13:13:17 -0700

Well, it assures that the *response body* is that size, which it will
be.

The problem you're pointing out WRT Squid caching partial responses
exists today; if I send a connection-delimited response and close
early, Squid will cache it, given the appropriate headers...

Cheers,

On 2006/09/20, at 1:02 PM, Henrik Nordstrom wrote:

> ons 2006-09-20 klockan 09:52 -0700 skrev Mark Nottingham:
>> After some reflection (and coffee!), I'm not sure I understand your
>> point. If the proxy synthesises the Content-Length from the stored
>> response, it can definitively count the bytes it's to send and always
>> delimit the response correctly. While it's true that the response may
>> be incomplete from the server's point of view, this is an entirely
>> separate issue -- one that Squid already has today.
>
> By the proxy adding a content-length it kind of assures the object
> really is of that length, which we cannot guarantee. Other than that
> there is not really any reason not to add the header..
>
> Regards
> Henrik
>
>

--
Mark Nottingham
mnot@yahoo-inc.com
Received on Wed Sep 20 2006 - 14:13:41 MDT

This archive was generated by hypermail pre-2.1.9 : Sun Oct 01 2006 - 12:00:04 MDT