Search squid archive

Re: Persistent Connections

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxx




[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux