cool, many thanks for the detail Henrik ^_^
Tor.
On 9/22/05, Henrik Nordstrom <hno@squid-cache.org> wrote:
> On Thu, 22 Sep 2005, Victor Tsang wrote:
>
> > Using packet sniffer it seems when squid stable 10 detects a request
> > having a content size larger than the max body size, it returns the
> > 413 error immediately but instead of terminating the connection and
> > stop the upload, it lets the upload continue.
>
> Squid eats the upload, allowing the error message to be sent to the
> client. The upload is never sent to the requested server.
>
> > To be honest I find both options to be less than perfect, what I
> > really want is stop people from wasting my brandwidth at the same time
> > give them a proper message to suggest they have done something stupid.
>
> Hard. Most clients only reads the error message after the upload has been
> sent. If the client connection is closed by Squid before then the
> connection gets reset and the client never reads the error message.
>
> Regards
> Henrik
>
Received on Thu Sep 22 2005 - 20:32:12 MDT
This archive was generated by hypermail pre-2.1.9 : Sat Oct 01 2005 - 12:00:04 MDT