Re: [hybi] Clarify the role of closing handshake
Takeshi Yoshino <tyoshino@google.com> Wed, 16 February 2011 02:34 UTC
Return-Path: <tyoshino@google.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 22FFB3A6C21 for <hybi@core3.amsl.com>; Tue, 15 Feb 2011 18:34:16 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -105.596
X-Spam-Level:
X-Spam-Status: No, score=-105.596 tagged_above=-999 required=5 tests=[AWL=0.380, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-4, USER_IN_WHITELIST=-100]
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 DWbsu+zPQ0Xw for <hybi@core3.amsl.com>; Tue, 15 Feb 2011 18:34:15 -0800 (PST)
Received: from smtp-out.google.com (smtp-out.google.com [216.239.44.51]) by core3.amsl.com (Postfix) with ESMTP id D5E4F3A6B6A for <hybi@ietf.org>; Tue, 15 Feb 2011 18:34:14 -0800 (PST)
Received: from kpbe14.cbf.corp.google.com (kpbe14.cbf.corp.google.com [172.25.105.78]) by smtp-out.google.com with ESMTP id p1G2YfsE004810 for <hybi@ietf.org>; Tue, 15 Feb 2011 18:34:41 -0800
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=google.com; s=beta; t=1297823681; bh=xItgjbUIg65F3w8iAD33Zn0ZQwA=; h=MIME-Version:In-Reply-To:References:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=njdaTikfAQi9S+i/j6vxTJ0S8H48XHjrOXrhS0U15sVibbr0TG5W/Fx75+o9oDISo wiVJ6hgJvmS3HPHNLJDnA==
Received: from iyj8 (iyj8.prod.google.com [10.241.51.72]) by kpbe14.cbf.corp.google.com with ESMTP id p1G2Yebn032312 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for <hybi@ietf.org>; Tue, 15 Feb 2011 18:34:40 -0800
Received: by iyj8 with SMTP id 8so793736iyj.26 for <hybi@ietf.org>; Tue, 15 Feb 2011 18:34:40 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=beta; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=dkaClaAs+PMjIt6KOIozqSnXOsX/AmSUewuR59aNvVo=; b=rtbz9yrgf/tg1sDIHd4vEypTR+G+LUWjDaithDGjJWiWwVMyPKFgM+UIUjqZ1yhhPU ZoA6ZbQNyh8d10Alv6cw==
DomainKey-Signature: a=rsa-sha1; c=nofws; d=google.com; s=beta; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=T92LrviCKzlFJru7822UVO65akAnuvCmeC97LYI7UM0Hr8dLAOdZ5e52SdZsLBB+4h JXvjm7d6I9TAqO0bcgyg==
Received: by 10.231.171.197 with SMTP id i5mr17121ibz.54.1297823680014; Tue, 15 Feb 2011 18:34:40 -0800 (PST)
MIME-Version: 1.0
Received: by 10.231.17.201 with HTTP; Tue, 15 Feb 2011 18:34:19 -0800 (PST)
In-Reply-To: <OF626368BC.D580B3D5-ON88257839.0005354B-88257839.000942C4@playstation.sony.com>
References: <AANLkTimhJ+F85NrAjt8TwDjDpyH0j30YcfAxppNKEvwF@mail.gmail.com> <OF626368BC.D580B3D5-ON88257839.0005354B-88257839.000942C4@playstation.sony.com>
From: Takeshi Yoshino <tyoshino@google.com>
Date: Tue, 15 Feb 2011 18:34:19 -0800
Message-ID: <AANLkTimA2-oQfddPra2og3wnG0h0eM3GcOt27gqaTZVK@mail.gmail.com>
To: Yutaka_Takeda@playstation.sony.com, Gabriel Montenegro <Gabriel.Montenegro@microsoft.com>
Content-Type: multipart/alternative; boundary="001636c924366da92e049c5d1ffe"
X-System-Of-Record: true
Cc: hybi@ietf.org
Subject: Re: [hybi] Clarify the role of closing handshake
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: Wed, 16 Feb 2011 02:34:16 -0000
On Tue, Feb 15, 2011 at 17:41, <Yutaka_Takeda@playstation.sony.com> wrote: > Although the Ian Hickson's message did not explain why TCP FIN > (shutdown(SHUT_WR)) was > not always possible, it made me realize that I have completely missed cases > where we have FYI, http://www.ietf.org/mail-archive/web/hybi/current/msg01147.html by Maciej http://www.ietf.org/mail-archive/web/hybi/current/msg01173.html by Jamie etc. > > intermediary nodes (e.g. proxy) along the path which terminate TCP layer. > (We can not terminate > TCP connection before end-to-end WS-layer close handshake.) > > Thank you for the heads-up, and please accept my apologies for any > confusion I may have caused. > > Ian Fette's text for -06 looks good to me now. If we are to exchange Close > frames as a normal > close handshake, then spurious RST issue should also be resolved in the > normal sequence. > In abnormal case, the RST issue may prevent the last bit including Close > frame also from reaching > the destination, which we need to be aware. > > Good. Thanks, Gabriel, are you fine with Ian Fette's text for -06? According to Maciej's message http://www.ietf.org/mail-archive/web/hybi/current/msg01181.html and others on the thread, it looks like there was consensus that we should have some method to deal with RST hazard. You can still terminate TCP for abandoned WebSocket immediately for some case where it makes sense though that will be taken as abnormal case above in Yutaka's message. Making "wait for a Close frame in response" SHOULD is another option. Takeshi
- Re: [hybi] Clarify the role of closing handshake Yutaka_Takeda
- Re: [hybi] Clarify the role of closing handshake Gabriel Montenegro
- [hybi] Clarify the role of closing handshake Takeshi Yoshino
- Re: [hybi] Clarify the role of closing handshake John Tamplin
- Re: [hybi] Clarify the role of closing handshake Greg Wilkins
- Re: [hybi] Clarify the role of closing handshake Gabriel Montenegro
- Re: [hybi] Clarify the role of closing handshake Greg Wilkins
- Re: [hybi] Clarify the role of closing handshake Takeshi Yoshino
- Re: [hybi] Clarify the role of closing handshake Yutaka_Takeda
- Re: [hybi] Clarify the role of closing handshake Brodie Thiesfield
- Re: [hybi] Clarify the role of closing handshake Gabriel Montenegro
- Re: [hybi] Clarify the role of closing handshake Greg Wilkins
- Re: [hybi] Clarify the role of closing handshake Brodie Thiesfield
- Re: [hybi] Clarify the role of closing handshake Salvatore Loreto
- Re: [hybi] Clarify the role of closing handshake Yutaka_Takeda
- Re: [hybi] Clarify the role of closing handshake Takeshi Yoshino
- Re: [hybi] Clarify the role of closing handshake Takeshi Yoshino
- Re: [hybi] Clarify the role of closing handshake Yutaka_Takeda
- Re: [hybi] Clarify the role of closing handshake Takeshi Yoshino
- Re: [hybi] Clarify the role of closing handshake Takeshi Yoshino
- Re: [hybi] Clarify the role of closing handshake Gabriel Montenegro
- Re: [hybi] Clarify the role of closing handshake Andy Green
- Re: [hybi] Clarify the role of closing handshake Takeshi Yoshino
- Re: [hybi] Clarify the role of closing handshake Yutaka_Takeda
- Re: [hybi] Clarify the role of closing handshake Yutaka_Takeda
- Re: [hybi] Clarify the role of closing handshake Gabriel Montenegro
- Re: [hybi] Clarify the role of closing handshake Yutaka_Takeda
- Re: [hybi] Clarify the role of closing handshake John Tamplin
- Re: [hybi] Clarify the role of closing handshake Brian
- Re: [hybi] Clarify the role of closing handshake Peter Saint-Andre
- Re: [hybi] Clarify the role of closing handshake Yutaka_Takeda
- Re: [hybi] Clarify the role of closing handshake Ian Fette (イアンフェッティ)
- Re: [hybi] Clarify the role of closing handshake Takeshi Yoshino
- Re: [hybi] Clarify the role of closing handshake Justin Lee
- Re: [hybi] Clarify the role of closing handshake Takeshi Yoshino
- Re: [hybi] Clarify the role of closing handshake Yutaka_Takeda
- Re: [hybi] Clarify the role of closing handshake Brodie Thiesfield
- Re: [hybi] Clarify the role of closing handshake Yutaka_Takeda
- Re: [hybi] Clarify the role of closing handshake Takeshi Yoshino
- Re: [hybi] Clarify the role of closing handshake Takeshi Yoshino
- Re: [hybi] Clarify the role of closing handshake Takeshi Yoshino
- Re: [hybi] Clarify the role of closing handshake Gabriel Montenegro
- Re: [hybi] Clarify the role of closing handshake Yutaka_Takeda