END_STREAM on PUSH_PROMISE

James M Snell <jasnell@gmail.com> Wed, 19 June 2013 21:34 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 (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4B32321E810A for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 19 Jun 2013 14:34:52 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.53
X-Spam-Level:
X-Spam-Status: No, score=-10.53 tagged_above=-999 required=5 tests=[AWL=0.069, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id rRjundn0L-mE for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 19 Jun 2013 14:34:46 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 037C721E80B2 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 19 Jun 2013 14:34:45 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1UpQ06-0007ZU-7b for ietf-http-wg-dist@listhub.w3.org; Wed, 19 Jun 2013 21:33:10 +0000
Resent-Date: Wed, 19 Jun 2013 21:33:10 +0000
Resent-Message-Id: <E1UpQ06-0007ZU-7b@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1UpPzs-0007Xf-8I for ietf-http-wg@listhub.w3.org; Wed, 19 Jun 2013 21:32:56 +0000
Received: from mail-ob0-f172.google.com ([209.85.214.172]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1UpPzr-000800-Kp for ietf-http-wg@w3.org; Wed, 19 Jun 2013 21:32:56 +0000
Received: by mail-ob0-f172.google.com with SMTP id wo10so6539323obc.3 for <ietf-http-wg@w3.org>; Wed, 19 Jun 2013 14:32:29 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=0YoVHgay5nUCL5q9nYDOYvff1AUS/4swMTZxtKHppiU=; b=BYzTfuVqEhKT1o4kYupkaHWOwP6pjKhMcGQ1rfW/BzYAOLfSy4jmhfFud5s3ApHv6C H5vMpLFBtVRGmFNGHvhFQm1P2jBRCOnMVPpFCVyM2Bqe8WLrfxliV4QWZaEIDzd3BkLE Z3pcBkuC7Hjf/kaI5WcLNU/aNv7OOCPqxPc7/0fKRqZJA6mGAgWmxYAVlUHBLj+Bwk6r IgOMyudbphWs1ARRnjVTZrP0QIDYkAJiE8+XkyQDjaFu9ezJtvB2pMEIoydXLb/IPWbz y7qKCT9WO2v60oJhEZUvLpqQsPnlwMriDwHax8/NicRH0MgDjL+qkHxYEUKotn1XpL7r px+Q==
X-Received: by 10.60.57.7 with SMTP id e7mr3181655oeq.96.1371677549793; Wed, 19 Jun 2013 14:32:29 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.60.55.8 with HTTP; Wed, 19 Jun 2013 14:32:09 -0700 (PDT)
From: James M Snell <jasnell@gmail.com>
Date: Wed, 19 Jun 2013 14:32:09 -0700
Message-ID: <CABP7Rbd0cgMsO_Mm_XRjJ8Y5iQ_SsZkQpAbkoZCEbU0g5fQ5ZQ@mail.gmail.com>
To: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: text/plain; charset="UTF-8"
Received-SPF: pass client-ip=209.85.214.172; envelope-from=jasnell@gmail.com; helo=mail-ob0-f172.google.com
X-W3C-Hub-Spam-Status: No, score=-3.5
X-W3C-Hub-Spam-Report: AWL=-2.669, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1UpPzr-000800-Kp c3428540bc5fb356a90210b12a09ada7
X-Original-To: ietf-http-wg@w3.org
Subject: END_STREAM on PUSH_PROMISE
Archived-At: <http://www.w3.org/mid/CABP7Rbd0cgMsO_Mm_XRjJ8Y5iQ_SsZkQpAbkoZCEbU0g5fQ5ZQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/18309
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>

Just going through things... in the current HEAD, we say that
PUSH_PROMISE can contain a END_PUSH_PROMISE for use with
continuations. No other flags are defined. Do we need END_STREAM on
PUSH_PROMISE?

There are two approaches if we want to send a stream that has no
actual DATA, but includes a HEADERS and a PUSH_PROMISE.

1. We send a HEADERS then a PUSH_PROMISE with END_STREAM set... or

2. We send a HEADERS, a PUSH_PROMISE, and an empty DATA with length 0
and END_STREAM set.

Either approach works, it just needs to be clear.