Re: [PATCH] Do not reuse persistent connections for PUTs

From: Henrik Nordström <henrik_at_henriknordstrom.net>
Date: Wed, 29 Aug 2012 22:32:44 +0200

ons 2012-08-29 klockan 22:20 +0200 skrev Henrik Nordström:
> ons 2012-08-29 klockan 12:42 -0600 skrev Alex Rousskov:
> > Hello,
> >
> > I saw bogus ERR_ZERO_SIZE_OBJECT responses while testing Squid v3.1,
> > but the same problem ought to be present in v3.2 as well.
> >
> > A compliant proxy may retry PUTs, but Squid lacks the [rather
> > complicated] code required to protect the PUT request body from being
> > nibbled during the first try, when pconn races are possible.
>
> +1 on the patch from me.

It's a reincarnation of Bug #569, kind of. The check for a request body
have "always" been there (well since that bug was fixed), but was
deleted in revision 11589 for some reason.

Log message on the delete says

  Bug 3398: persistent server connection closed after PUT/DELETE

Regards
Henrik
Received on Wed Aug 29 2012 - 20:32:57 MDT

This archive was generated by hypermail 2.2.0 : Thu Aug 30 2012 - 12:00:12 MDT