Re: adding Header Continuation

Roberto Peon <grmocg@gmail.com> Mon, 20 May 2013 19:09 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 D26C821F89A6 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 20 May 2013 12:09:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.598
X-Spam-Level:
X-Spam-Status: No, score=-10.598 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HTML_MESSAGE=0.001, 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 JN1Q8fcbFQPG for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 20 May 2013 12:09:30 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 800B121F8899 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 20 May 2013 12:09:29 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1UeVRj-0004A7-7h for ietf-http-wg-dist@listhub.w3.org; Mon, 20 May 2013 19:08:35 +0000
Resent-Date: Mon, 20 May 2013 19:08:35 +0000
Resent-Message-Id: <E1UeVRj-0004A7-7h@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <grmocg@gmail.com>) id 1UeVRX-00048R-OP for ietf-http-wg@listhub.w3.org; Mon, 20 May 2013 19:08:23 +0000
Received: from mail-oa0-f45.google.com ([209.85.219.45]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <grmocg@gmail.com>) id 1UeVRX-0005yR-3J for ietf-http-wg@w3.org; Mon, 20 May 2013 19:08:23 +0000
Received: by mail-oa0-f45.google.com with SMTP id j6so8232688oag.32 for <ietf-http-wg@w3.org>; Mon, 20 May 2013 12:07:52 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=jaglTfbMmbzHfwyzXNJOc7pdiUZZmX/sB85AG7yeCuE=; b=egEp4zktUjSk+XqDpRsk3yMinGQ6/0S4yujpH26j0jAgWj1j+Z3Yb5sXxHFWzBAvSL VOk3oB1qJZ++s+DIUqmwdkndWaUsm2Y+6Jq3ajLVn4AI/Ohx7WAHceQgWUxjKpKiQI0U kTSIn/V9mULnNuS7Ir10ExJiThpn1AAZGU+2l7X0KqeXDSJKBi+I2ZjMecF9UgGFc93L oAYmS5OHjFGanmA/0zuiGq28OpJIzd/jGkT5xaDGyrn/kUQmDfOtC+TQkL5KEOzf5Gw1 DtOEvv21FLsJ+oZJAsO6jE3lWIyVul39la7nshY311PeZ/8kTiNDqZwPLEnaXsxsL45J 6yYQ==
MIME-Version: 1.0
X-Received: by 10.182.129.42 with SMTP id nt10mr2110073obb.54.1369076871950; Mon, 20 May 2013 12:07:51 -0700 (PDT)
Received: by 10.76.131.232 with HTTP; Mon, 20 May 2013 12:07:51 -0700 (PDT)
In-Reply-To: <CABkgnnVAFbDZAV1NR71in6qOxgN2cmeUdjYfmQYagCGW4Z6kMw@mail.gmail.com>
References: <F052EE82-6AD0-4A4B-924E-7A01D71A4037@mnot.net> <CABkgnnVAFbDZAV1NR71in6qOxgN2cmeUdjYfmQYagCGW4Z6kMw@mail.gmail.com>
Date: Mon, 20 May 2013 12:07:51 -0700
Message-ID: <CAP+FsNeZ_TyWhitMo4qKkQuN3P8sDcePY7HUHANyRYADNdtH4g@mail.gmail.com>
From: Roberto Peon <grmocg@gmail.com>
To: Martin Thomson <martin.thomson@gmail.com>
Cc: Mark Nottingham <mnot@mnot.net>, HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary="e89a8fb1fbfe9f77ec04dd2b0caa"
Received-SPF: pass client-ip=209.85.219.45; envelope-from=grmocg@gmail.com; helo=mail-oa0-f45.google.com
X-W3C-Hub-Spam-Status: No, score=-3.5
X-W3C-Hub-Spam-Report: AWL=-2.689, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1UeVRX-0005yR-3J 20ee2e4dcda0be5b033b639cbd55e4dc
X-Original-To: ietf-http-wg@w3.org
Subject: Re: adding Header Continuation
Archived-At: <http://www.w3.org/mid/CAP+FsNeZ_TyWhitMo4qKkQuN3P8sDcePY7HUHANyRYADNdtH4g@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/18045
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>

Further expounding:

The contents of header frames MUST be processed by the compression context,
even when the stream has been reset. If this is unacceptable, the receiver
MAY terminate the session with the appropriate error code indicating why.

In other words, yes, agreeing about the fact that state must be sync'd.
The above is useful even when a max size has been negotiated, since servers
may decide to reset streams for many reasons



-=R


On Mon, May 20, 2013 at 10:02 AM, Martin Thomson
<martin.thomson@gmail.com>wrote:

> On 19 May 2013 20:29, Mark Nottingham <mnot@mnot.net> wrote:
> > Without going into the fine details of the text, are we ready to have
> such a thing?
>
> Yes.  But.
>
> I think that we need to be a little clearer on what happens when size
> limits are exceeded.
>
> grmocg wrote:
> > If I recall correctly, there currently isn't an explicit limit on header
> size in HTTP. Unless we're willing to impose such, it is up to the
> implementation to reject things which are too large by RESETTING the
> stream. That case probably does need more expounding, though.
>
> Resetting a stream isn't going to be possible, unless the receiver
> first applies any changes to local compression state.  I remain
> concerned that the header compression scheme will need to deal with
> the same issue.
>
> I'd like to see a discussion resolve on what strategy(ies) we want to
> permit for dealing with bad peers for oversized stuff, for this and
> perhaps also frames in general.  A generally applicable strategy seems
> plausible.  In that discussion we should cover whether we permit the
> declaration of size limits.
>
> --Martin
>
>