Re: HTTP2 Stream timeouts?
Greg Wilkins <gregw@intalio.com> Mon, 11 August 2014 00:11 UTC
Return-Path: <ietf-http-wg-request@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id DE5591A002C for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 10 Aug 2014 17:11:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.947
X-Spam-Level:
X-Spam-Status: No, score=-6.947 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.668, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2bebmiY3xZSr for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 10 Aug 2014 17:11:21 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 6A8321A0028 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun, 10 Aug 2014 17:11:20 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1XGd9Y-00070b-Fw for ietf-http-wg-dist@listhub.w3.org; Mon, 11 Aug 2014 00:07:56 +0000
Resent-Date: Mon, 11 Aug 2014 00:07:56 +0000
Resent-Message-Id: <E1XGd9Y-00070b-Fw@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <gregw@intalio.com>) id 1XGd9D-0006rD-4w for ietf-http-wg@listhub.w3.org; Mon, 11 Aug 2014 00:07:35 +0000
Received: from mail-wi0-f182.google.com ([209.85.212.182]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <gregw@intalio.com>) id 1XGd9C-0002T1-4M for ietf-http-wg@w3.org; Mon, 11 Aug 2014 00:07:35 +0000
Received: by mail-wi0-f182.google.com with SMTP id d1so3378550wiv.15 for <ietf-http-wg@w3.org>; Sun, 10 Aug 2014 17:07:07 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=3EON+LGJ+shBS4dx4RM8p6OgDYupjSsRQiZM/PhCt7U=; b=CSvKKTLLoTvGnbV1YNyQkVn2n24IKRbKTclzSHvGBWmkCHZrj2AdNnBEp6qMHCheeF b/1gaBxZbCQPc2jBIiyDW9fUbR36lYu54ENPvH175XE5Y54ciu0oHH6yKLuNSGig45z+ tyzUp0ThcKigsK6L0HjX3NMOCGb6SBQIZBAffSGcRNYKYZBdkJ3u3kinF9BrboGr+2rW YCFsZIitCIFnmW8MEcz9toZvvcd6iEQ/tKN+G+NILKCYt4E7xGmAlzHFA66aFiNfqQ7+ rJKLWPv+Jm2o94HCFsxzCeiZaRmrnugIDRNVv8jl2rDGf/HQnxJaz7UDHRig1XicsJ7d TUnA==
X-Gm-Message-State: ALoCoQlExFHq7uHUSk9Xf395mw/J0cJld2a3BZfFae+TSmk+2oWn8c0PcrlG4uDF1jTXZrbwf77x
MIME-Version: 1.0
X-Received: by 10.180.94.34 with SMTP id cz2mr21091366wib.74.1407715627595; Sun, 10 Aug 2014 17:07:07 -0700 (PDT)
Received: by 10.194.169.98 with HTTP; Sun, 10 Aug 2014 17:07:07 -0700 (PDT)
In-Reply-To: <CABkgnnW4SRGCMUQceNn0SuBLotjdxQXiBbdAVcEfqbHBVm45ow@mail.gmail.com>
References: <CAH_y2NEk+uYisQBh0Ox_FSe1kzXFSj7X75akr2dzgnn+4wjeqw@mail.gmail.com> <CABkgnnW4SRGCMUQceNn0SuBLotjdxQXiBbdAVcEfqbHBVm45ow@mail.gmail.com>
Date: Mon, 11 Aug 2014 10:07:07 +1000
Message-ID: <CAH_y2NEkSVCNMortwRSt=TbGCPkxOJzP=K8hdXL44Q9MLYs6wQ@mail.gmail.com>
From: Greg Wilkins <gregw@intalio.com>
To: Martin Thomson <martin.thomson@gmail.com>
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary="f46d04426c52ed905d05004f55b6"
Received-SPF: permerror client-ip=209.85.212.182; envelope-from=gregw@intalio.com; helo=mail-wi0-f182.google.com
X-W3C-Hub-Spam-Status: No, score=-3.8
X-W3C-Hub-Spam-Report: AWL=-3.085, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7
X-W3C-Scan-Sig: lisa.w3.org 1XGd9C-0002T1-4M f5b8d61b5f4339bb179b389e1bfc667b
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP2 Stream timeouts?
Archived-At: <http://www.w3.org/mid/CAH_y2NEkSVCNMortwRSt=TbGCPkxOJzP=K8hdXL44Q9MLYs6wQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/26584
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
On 8 August 2014 03:28, Martin Thomson <martin.thomson@gmail.com> wrote: > > No way anyone would do that... > > https://tools.ietf.org/html/draft-thomson-webpush-http2-00 How creative :) So I thought about this a bit more and I don't think such schemes are as vulnerable to unknown timeouts as HTTP/1 long polling. The problem with long held HTTP/1 long polls is that sometimes when intermediaries timeout a connection they just go dark - never send a FIN or RST and the client ends waiting forever for a response that will never come. With a long h2 stream, it can't silently go away (unless the whole connection does), so I'm now thinking that we don't really need to clarify this significantly. If the client receives a 4xx response or a reset stream, it will know the long held stream is over and initiate a new one if it wishes to remain connected to the push channel. cheers -- Greg Wilkins <gregw@intalio.com> http://eclipse.org/jetty HTTP, SPDY, Websocket server and client that scales http://www.webtide.com advice and support for jetty and cometd.
- HTTP2 Stream timeouts? Greg Wilkins
- Re: HTTP2 Stream timeouts? Martin Thomson
- Re: HTTP2 Stream timeouts? Greg Wilkins
- Re: HTTP2 Stream timeouts? Michael Sweet