Re: [hybi] Proposal for a clean way to detect non-HTTP compliant transparent proxies

Willy Tarreau <w@1wt.eu> Thu, 22 July 2010 01:23 UTC

Return-Path: <w@1wt.eu>
X-Original-To: hybi@core3.amsl.com
Delivered-To: hybi@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 5F31B3A6951 for <hybi@core3.amsl.com>; Wed, 21 Jul 2010 18:23:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.224
X-Spam-Level:
X-Spam-Status: No, score=-3.224 tagged_above=-999 required=5 tests=[AWL=-1.181, BAYES_00=-2.599, HELO_IS_SMALL6=0.556]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id KM-1g6xZuN2s for <hybi@core3.amsl.com>; Wed, 21 Jul 2010 18:23:25 -0700 (PDT)
Received: from 1wt.eu (1wt.eu [62.212.114.60]) by core3.amsl.com (Postfix) with ESMTP id 2FF1E3A6838 for <hybi@ietf.org>; Wed, 21 Jul 2010 18:23:25 -0700 (PDT)
Received: (from willy@localhost) by mail.home.local (8.14.4/8.14.4/Submit) id o6M1NeOQ007959; Thu, 22 Jul 2010 03:23:40 +0200
Date: Thu, 22 Jul 2010 03:23:40 +0200
From: Willy Tarreau <w@1wt.eu>
To: Greg Wilkins <gregw@webtide.com>
Message-ID: <20100722012340.GJ7174@1wt.eu>
References: <20100721225210.GE6475@1wt.eu> <20100722003801.GJ14589@shareable.org> <AANLkTilQVmOCtejAJ7xccv5bCX5rTbakB6qFY5X9yxMN@mail.gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <AANLkTilQVmOCtejAJ7xccv5bCX5rTbakB6qFY5X9yxMN@mail.gmail.com>
User-Agent: Mutt/1.4.2.3i
Cc: hybi@ietf.org
Subject: Re: [hybi] Proposal for a clean way to detect non-HTTP compliant transparent proxies
X-BeenThere: hybi@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Server-Initiated HTTP <hybi.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/hybi>, <mailto:hybi-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/hybi>
List-Post: <mailto:hybi@ietf.org>
List-Help: <mailto:hybi-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/hybi>, <mailto:hybi-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 22 Jul 2010 01:23:26 -0000

On Thu, Jul 22, 2010 at 11:01:02AM +1000, Greg Wilkins wrote:
> On 22 July 2010 10:38, Jamie Lokier <jamie@shareable.org> wrote:
> 
> > There's some discussion on another list about using a 1xx response to
> > indicate "request is being processed", for when the processing is slow
> > to produce a response.  The fact that is being taken seriously
> > suggests that at least some deployments do forward 1xx messages in the
> > way the standard requires.
> >
> 
> 
> We have users that definitely use the 102 processing response with success.

Nice to know. I think that it's simply forwarded as the 1xx rule just
like the 100 is.

> So there must be some network segments where this is possible.
> I've often thought that if 102 responses could have bodies and were exposed
> to the browser, then they would make an useful transport for comet style
> applications.

Very clever idea. You could use headers though, or even shorter messages
by playing with the reason string after the status code ;-)

Willy