Re: [hybi] Send quota value before receiving AddChannelResponse (was: Re: MUC: channel ID semantics)

Takeshi Yoshino <tyoshino@google.com> Wed, 02 May 2012 06:22 UTC

Return-Path: <tyoshino@google.com>
X-Original-To: hybi@ietfa.amsl.com
Delivered-To: hybi@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id CD63A21E8013 for <hybi@ietfa.amsl.com>; Tue, 1 May 2012 23:22:46 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.926
X-Spam-Level:
X-Spam-Status: No, score=-102.926 tagged_above=-999 required=5 tests=[AWL=0.050, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-1, USER_IN_WHITELIST=-100]
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 N7dI4+PTAbZo for <hybi@ietfa.amsl.com>; Tue, 1 May 2012 23:22:46 -0700 (PDT)
Received: from mail-yw0-f44.google.com (mail-yw0-f44.google.com [209.85.213.44]) by ietfa.amsl.com (Postfix) with ESMTP id 4349521E8011 for <hybi@ietf.org>; Tue, 1 May 2012 23:22:46 -0700 (PDT)
Received: by yhq56 with SMTP id 56so348546yhq.31 for <hybi@ietf.org>; Tue, 01 May 2012 23:22:45 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:x-system-of-record; bh=kUU0qFxHATzDm8lYs2AmYTuYvtp+bX5JL9P67lUD59I=; b=EsHxhPouSXX9ocMsizPm9Cn5/nBdm15ZHoSclvQFgS4IERfZDMFglRwGDiAiuPrK99 KphMmefGU8jrLFKUEmfvbRq7OwXQX1mIEbzf4w4o40oztWSYh6zeA/ZBV290Rq8Qb9ip oSt3ZLTVmM5IPopP6DdARW23mx2uv0653KweP4THy3xr9V7nZLZF1uvrTZgVPPBub++R uO9FVD9AA1JmSUMvND9WdarkxXUaezohC5oiJKNAuLjw0n9l1PTYpaEKDI4MT+TPIz3s Z996b+j/vpRHDF96Wpj54L+AXPZkAfqTnTCEOwqxCIpG4c3veM0fq+aU19VYZ25w7jH4 jabw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:x-system-of-record:x-gm-message-state; bh=kUU0qFxHATzDm8lYs2AmYTuYvtp+bX5JL9P67lUD59I=; b=jXA9x5QHKvsbmwwvCssQ+KgLYIZEuOufZAf6/luRfm6bu3zm2nXIJ07Dv0Ws7zdyge GK7RzEzVxvIdSGp8tkqfzi7/JPc50rrUsYbWl42qBTZ1lxCq3jGu2MiCUE8Oa53g6dVp dH1i/TmxhysbNhwx34ZQbXB6Rsz06PrKnb9v6JF7X0cxa3eseMv0vMculPNHrf2EAguY BiErRflBulGcNMYKRRyNm5FtV2AAiSJsdvD/bPmZNStOxeWuks3XuecwlihayoS0c3va YxclgrEvyp3A8hLHPNs2kG5mSN9mB0cosLc3Rj+M+LZps0X2APoUdB7oG1gQA+cdGgiz wJdg==
Received: by 10.50.156.133 with SMTP id we5mr3716924igb.64.1335939765463; Tue, 01 May 2012 23:22:45 -0700 (PDT)
Received: by 10.50.156.133 with SMTP id we5mr3716918igb.64.1335939765372; Tue, 01 May 2012 23:22:45 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.231.176.164 with HTTP; Tue, 1 May 2012 23:22:25 -0700 (PDT)
In-Reply-To: <003f01cd22e7$f4a47220$dded5660$@noemax.com>
References: <CAH9hSJZP8FhAGANSwPfvdMCQPyfRhG7tqPT68e6VY5ZCAEROTw@mail.gmail.com> <CABLsOLBsHXsj_A2sWa+b8KaFJBEFMHk0W268RyKzh7J0Y+ZxVQ@mail.gmail.com> <CAH9hSJZMrqDLJLr6RNLk84o1B2i3AVezUeGF9mWZ2Yu2Uv-feA@mail.gmail.com> <CA566BAEAD6B3F4E8B5C5C4F61710C1147FA4EA0@TK5EX14MBXW602.wingroup.windeploy.ntdev.microsoft.com> <002501cd1e15$0c8d8480$25a88d80$@noemax.com> <CA566BAEAD6B3F4E8B5C5C4F61710C1147FA9596@TK5EX14MBXW602.wingroup.windeploy.ntdev.microsoft.com> <4F9494FD.5070106@ducksong.com> <CAH_y2NGJFpC500ut00a6jM=syF0Ljf4oSOh=uchqv1LOud7pKg@mail.gmail.com> <000301cd21f2$8ee30fa0$aca92ee0$@noemax.com> <CABLsOLDzVNx247sXx1+wL-c1T8-R67-BebOnhxJ=1+rBjqwJ5w@mail.gmail.com> <003f01cd22e7$f4a47220$dded5660$@noemax.com>
From: Takeshi Yoshino <tyoshino@google.com>
Date: Wed, 02 May 2012 15:22:25 +0900
Message-ID: <CAH9hSJYCpwPdaQnj76DKrOrxZyL64F_775Abu6x1rXpmzkkYmQ@mail.gmail.com>
To: hybi@ietf.org
Content-Type: multipart/alternative; boundary="e89a8f23500928078204bf07b7f5"
X-System-Of-Record: true
X-Gm-Message-State: ALoCoQlwOQOvxUyqv2ViOrFMz1bL3Ym8D2Vog0tiDXsF3u/UXu6mUgF5x6QiNDVHIfnIFFPUzPFsP0U2Cq7njqwv+xxJrGiuirGMZVtmQeF5EWFTWGcl25RtNa1bXDSiG+9jNeEmSz/l
Subject: Re: [hybi] Send quota value before receiving AddChannelResponse (was: Re: MUC: channel ID semantics)
X-BeenThere: hybi@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Server-Initiated HTTP <hybi.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/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, 02 May 2012 06:22:46 -0000

FYI, one more point we need to think about is channel-wise extension
negotiation.

E.g. if AddChannelRequest has per-frame compression extension request, the
client must refrain from sending compressed frame until receiving
AddChannelResponse. We can take this workaround for per-frame compression
just because we made it frame-wise feature by introducing per-frame
compressed bit. In general, we need to disallow use of mux with
pre-response quota and channel-wise extension (if opening handshake with
which may be accepted in different ways. i.e. "connection is accepted but
the extension is rejected" and "connection is accepted with the extension
enabled") together. Or the frame sent before receiving response will be
mis-interpreted by the server.

Takeshi