Re: [hybi] Clarify the role of closing handshake
John Tamplin <jat@google.com> Tue, 15 February 2011 20:29 UTC
Return-Path: <jat@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 4B0433A6D9A for <hybi@core3.amsl.com>; Tue, 15 Feb 2011 12:29:07 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -105.901
X-Spam-Level:
X-Spam-Status: No, score=-105.901 tagged_above=-999 required=5 tests=[AWL=0.075, 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 e+oZPMUR54HV for <hybi@core3.amsl.com>; Tue, 15 Feb 2011 12:29:06 -0800 (PST)
Received: from smtp-out.google.com (smtp-out.google.com [216.239.44.51]) by core3.amsl.com (Postfix) with ESMTP id 024423A6D99 for <hybi@ietf.org>; Tue, 15 Feb 2011 12:29:05 -0800 (PST)
Received: from hpaq14.eem.corp.google.com (hpaq14.eem.corp.google.com [172.25.149.14]) by smtp-out.google.com with ESMTP id p1FKTVM5009751 for <hybi@ietf.org>; Tue, 15 Feb 2011 12:29:32 -0800
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=google.com; s=beta; t=1297801772; bh=7zm0BveuyGpC+hHxZg5KsxByl18=; h=MIME-Version:In-Reply-To:References:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=B6xnvWrafO2h3skjszMvhAN7uznRdj3r+SoTcdpw1tudOlxxuQhaK5eOgYS/bKxN5 pWmlnkHg5WiYtPJzyDbKQ==
Received: from ywc21 (ywc21.prod.google.com [10.192.3.21]) by hpaq14.eem.corp.google.com with ESMTP id p1FKTT7I021466 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for <hybi@ietf.org>; Tue, 15 Feb 2011 12:29:30 -0800
Received: by ywc21 with SMTP id 21so314785ywc.37 for <hybi@ietf.org>; Tue, 15 Feb 2011 12:29:29 -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=UobW+mnadi9y6VmsSS3vYI3p+SC8xqyz1skOGVr8raY=; b=oYtp+JSo2UuICaPNy/sS4xKSZuMumvpjNMoLt3cC7+HSaCwAzL5pJfIB47oirnzwCZ vqgL/NxxgzfZRxQiO4lg==
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=bxjzNDHLb6Xg6UhoZ7Szu7EYXiLwUn+4UjPk7Yuu2FRYWuWZEIPWILWd8S5+KXzPMK Ubw0L5/zuuUaUV662F+w==
Received: by 10.150.145.21 with SMTP id s21mr1881812ybd.434.1297801769117; Tue, 15 Feb 2011 12:29:29 -0800 (PST)
MIME-Version: 1.0
Received: by 10.150.206.19 with HTTP; Tue, 15 Feb 2011 12:29:02 -0800 (PST)
In-Reply-To: <OF5442EF1E.2B5095C9-ON88257838.006DA28B-88257838.00702999@playstation.sony.com>
References: <CA566BAEAD6B3F4E8B5C5C4F61710C1126E1534D@TK5EX14MBXW605.wingroup.windeploy.ntdev.microsoft.com> <OF5442EF1E.2B5095C9-ON88257838.006DA28B-88257838.00702999@playstation.sony.com>
From: John Tamplin <jat@google.com>
Date: Tue, 15 Feb 2011 15:29:02 -0500
Message-ID: <AANLkTim+wf0T2FNd3YRVAgqhHYhsWbgFsrSLZNoLqPS+@mail.gmail.com>
To: Yutaka_Takeda@playstation.sony.com
Content-Type: multipart/alternative; boundary="0015174bdbf26feacd049c580561"
X-System-Of-Record: true
Cc: "hybi@ietf.org" <hybi@ietf.org>, "hybi-bounces@ietf.org" <hybi-bounces@ietf.org>, Gabriel Montenegro <Gabriel.Montenegro@microsoft.com>
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: Tue, 15 Feb 2011 20:29:07 -0000
On Tue, Feb 15, 2011 at 3:25 PM, <Yutaka_Takeda@playstation.sony.com> wrote: > If application wants to send a data to a server when browser is closing > (triggered by user), > for example, is there a way to be sure that the server app received it? > > I have embarrassingly limited knowledge of JavaScript but from my > understanding, > you can catch such event by using > > window.onbeforeunload = function() > { return do_something() } > > I don't know how reliable that is, but certainly the browser could crash, the user could close the browser, the machine could be suspended, the network connection may be lost, etc. There are any number of things that would prevent the last bit of application data from getting to the server, and the client/server has to be able to deal with that already. -- John A. Tamplin Software Engineer (GWT), Google
- 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