Re: [hybi] Intermediaries and idle connections (was Re: Technical feedback.)

Justin Erenkrantz <justin@erenkrantz.com> Mon, 01 February 2010 05:29 UTC

Return-Path: <justin.erenkrantz@gmail.com>
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 763A63A6859 for <hybi@core3.amsl.com>; Sun, 31 Jan 2010 21:29:00 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.989
X-Spam-Level:
X-Spam-Status: No, score=-1.989 tagged_above=-999 required=5 tests=[AWL=-0.012, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622]
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 60MJg+2ENv8V for <hybi@core3.amsl.com>; Sun, 31 Jan 2010 21:28:59 -0800 (PST)
Received: from mail-pz0-f198.google.com (mail-pz0-f198.google.com [209.85.222.198]) by core3.amsl.com (Postfix) with ESMTP id 4034B3A6835 for <hybi@ietf.org>; Sun, 31 Jan 2010 21:28:56 -0800 (PST)
Received: by pzk36 with SMTP id 36so4771881pzk.5 for <hybi@ietf.org>; Sun, 31 Jan 2010 21:29:29 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type; bh=2Yx4esp/GhIO39e67pv40rtX/l8Ucl6Z1TZqS6jj7qA=; b=kz6eZJWIC0xRLjkjLgF9a2uYx/nwJE84kWj5WvNunz1fQr4WNfgBEsBg/8rV2azvPR PRVhfOfpP+VPYYyxA8lGJp2kM4icNcinjobLaG6lXfvRdD7F11MjBGZIIvzlTfOqnG3U /6zOffe7slw7F2Z6Yhhyws2V3YIAuSqgU7X1s=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; b=kwfUdid8sqRyMgoPheodq+MtvbwityISb2JlSafRKGQcTjUdfS+zrPJMbctkeuGuQf XMqt9Gmjx54hTyes/Q4R/0TvL3nYgWbeCgbSMKFbiKWZkbiCHfqYtCBpZAYup4jMcFKB uyqlEkXjNs+peCmXfNHWDRcdnU5A+kKhhDhrQ=
MIME-Version: 1.0
Sender: justin.erenkrantz@gmail.com
Received: by 10.142.67.29 with SMTP id p29mr2776057wfa.260.1265002169227; Sun, 31 Jan 2010 21:29:29 -0800 (PST)
In-Reply-To: <2414195D-F1E0-43FE-8CED-401EAD9AA5F1@apple.com>
References: <4B62E516.2010003@webtide.com> <E379EA13-D58A-4BFB-A62D-2B931A54E276@apple.com> <4B63DD6B.5030803@webtide.com> <E765982E-06B5-48BC-B75D-02E3F9555018@apple.com> <4B64B179.9050502@webtide.com> <2D6C6FEE-2019-44E4-BD82-7BF68B30A518@apple.com> <4B64D0B3.7050503@webtide.com> <3A1BA23A-D9B6-48F5-8639-DE12CF9939C0@apple.com> <20100201010021.GA20940@shareable.org> <2414195D-F1E0-43FE-8CED-401EAD9AA5F1@apple.com>
Date: Sun, 31 Jan 2010 21:29:29 -0800
X-Google-Sender-Auth: 24e4a6de9dcfd81f
Message-ID: <5c902b9e1001312129v74a51230w6428166126c369d4@mail.gmail.com>
From: Justin Erenkrantz <justin@erenkrantz.com>
To: Maciej Stachowiak <mjs@apple.com>
Content-Type: text/plain; charset="ISO-8859-1"
Cc: Hybi <hybi@ietf.org>
Subject: Re: [hybi] Intermediaries and idle connections (was Re: Technical feedback.)
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: Mon, 01 Feb 2010 05:29:00 -0000

On Sun, Jan 31, 2010 at 7:08 PM, Maciej Stachowiak <mjs@apple.com> wrote:
> OTOH just the special status line ("HTTP/1.1 101 Web Socket Protocol Handshake") guarantees this. Would it be reasonable to limit the hardcoded part of the handshake to the status line?

If we are under HTTP/1.1 rules, then there are two points against this:

 - The status reason should always be completely arbitrary.  The
status code is the only relevant bit.

 - The protocol actually being upgraded to is indicated in the Upgrade
response header.

HTH.  -- justin