Re: [hybi] WebSocket Close Code: Timeout

Adam Rice <ricea@google.com> Thu, 01 February 2024 07:36 UTC

Return-Path: <ricea@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 358FEC14F602 for <hybi@ietfa.amsl.com>; Wed, 31 Jan 2024 23:36:33 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -17.607
X-Spam-Level:
X-Spam-Status: No, score=-17.607 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, ENV_AND_HDR_SPF_MATCH=-0.5, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001, USER_IN_DEF_DKIM_WL=-7.5, USER_IN_DEF_SPF_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=google.com
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id RPah0tKNLJfg for <hybi@ietfa.amsl.com>; Wed, 31 Jan 2024 23:36:32 -0800 (PST)
Received: from mail-il1-x12c.google.com (mail-il1-x12c.google.com [IPv6:2607:f8b0:4864:20::12c]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 891FFC14F5FD for <hybi@ietf.org>; Wed, 31 Jan 2024 23:36:32 -0800 (PST)
Received: by mail-il1-x12c.google.com with SMTP id e9e14a558f8ab-363a61b7647so2265ab.1 for <hybi@ietf.org>; Wed, 31 Jan 2024 23:36:32 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1706772991; x=1707377791; darn=ietf.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=FAV3UNJFmUEvxnlh0hPf0mbX7WvfQrUVY3vxxmLyzAc=; b=cAglGoyRWwHapkGjc7iGZEj9Rdt7/GAMeMKBW+LojTUOHH+iTdevppvfeRTcZfTnzB HXBIqgGVwjLvnvM8RG4l59UxsKt82BxGqTgDAiRDxjgWaO+y7e7MDwBQdiKgZ7Jr55Aq rsnV2zuqRor63b4bol2WRDR+4B5SOF7gmntX1fraMlW9sYUS6Unt6fyxdhd5jnac32u6 Hls9fANFno6QiXx8RjU7d/Q14z1SkUMEgXlsQbQpdNyFE5eap6/L8z+9/BsMgA87yoGF C5q/8hycm9qYqQMfD8wJ7ZcYZ6XrwwR0HGvcXJxc7QLb7lmSak+/SzMztb5Wr/9x5OgG Uj8A==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706772991; x=1707377791; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=FAV3UNJFmUEvxnlh0hPf0mbX7WvfQrUVY3vxxmLyzAc=; b=mntLdGSuf3I4lWcGDVa02IZRBs1tDyM0PkcG0OmR8ZNr1pobM5iVZbZFo0Hj9mNU3D Tb4QQZUECMqqcNB4ZP96rwirc2yxYUltrcrk7Grw/KVNyznYooumgnevC7u4YzRPmKU5 1GL3iYnh57fhFL68cDujZ8nVxkcto1Ki7tGzCNocYkMq/7ti5Kc/wkGOnD9TIbxg2inV CM82Nh2ULo1wBNT3mXdTdMOP1glMzPYGZx/y4ycyZbbozS0s+eJAYUfrylt0VjNx2XTm gv+X1tVWplq96URPWMzGC3PfFz9l/EFZGRGwTxlmxB7gVy6HUAlKlzJ6lGfGeIprecEm kFeg==
X-Gm-Message-State: AOJu0Yykbn0WXpiWSWv8ISMdFQZzbmT8vbWThitl2nZE5BSk9Elf4QlI hB7PefDpHvWIlNZBx8XYiFIWFgC5T3PocESfZqMFpgDD42tQMwgOfFSgvZeP7Wtc085gbb0zbp/ exPHZSaBg79PMP5DT9txDVZ6+P6cotqH32T5CU9DhVX8Ja9VByQBR
X-Google-Smtp-Source: AGHT+IGodzVG4mgyopDwSsjmxBVrA/kqITZMiEYSSsSVNGUxVVUoPI6IaMHfe9j00YM0vFK3usZMxrGROoMUg64aIEU=
X-Received: by 2002:a05:6e02:1be2:b0:363:9e44:c560 with SMTP id y2-20020a056e021be200b003639e44c560mr196760ilv.24.1706772991541; Wed, 31 Jan 2024 23:36:31 -0800 (PST)
MIME-Version: 1.0
References: <602d83f1fc1b40fea701a5cd8ae4b3f0@viasat.com> <465d67cbde4b4a58a30e58fe43f3b597@viasat.com>
In-Reply-To: <465d67cbde4b4a58a30e58fe43f3b597@viasat.com>
From: Adam Rice <ricea@google.com>
Date: Thu, 01 Feb 2024 16:36:16 +0900
Message-ID: <CAHixhFpmYNjrjTdKJqjSdBusHQUL29h486QJBwjg-71GByoZog@mail.gmail.com>
To: "Jones, Morgan" <Morgan.Jones@viasat.com>
Cc: "hybi@ietf.org" <hybi@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000dfcd5106104d0d78"
Archived-At: <https://mailarchive.ietf.org/arch/msg/hybi/1TmgVrLHN6D-ufaoAZGXZHBjQ6o>
Subject: Re: [hybi] WebSocket Close Code: Timeout
X-BeenThere: hybi@ietf.org
X-Mailman-Version: 2.1.39
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: <https://mailarchive.ietf.org/arch/browse/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: Thu, 01 Feb 2024 07:36:33 -0000

The hybi working group no longer exists, so there's no-one to do the work.

I don't know whether it would be possible to just go ahead and register the
code with IANA yourself. I don't know by what process code 3003 got added.

RFC6455 says that codes 1000-2999 have to be set in a "permanent and
readily available public specification" which is maybe why it's easier to
add a code in the 3000 range.

Thanks,
Adam

On Wed, 31 Jan 2024 at 11:22, Jones, Morgan <Morgan.Jones@viasat.com> wrote:

> Hi there,
>
> We are still in need of this status code.
>
> Thanks,
> Morgan Jones
> Software Engineer | Viasat Secure Mobile
>
> -----Original Message-----
> From: Jones, Morgan
> Sent: Monday, April 24, 2023 4:40 PM
> To: 'hybi@ietf.org' <hybi@ietf.org>
> Subject: WebSocket Close Code: Timeout
>
> Hello,
>
> I would like to reserve a status code similar to HTTP 408 Request Timeout,
> simply meaning "Timeout".
>
> The description is similar to 408: The server has decided to shut down the
> connection. This is useful for WebSocket connections that should have an
> upper limit on their time spent open.
>
> I can see how this would be common enough to take the next code in the
> list, 1016, but it also seems that 3003 is being used for Forbidden in a
> similar manner to 403 (despite 3001 mismatching), so I would like to
> propose 3008 as an alternative.
>
> Let me know what you think. Our usecase is that we'd like to time out
> certain WebSocket connections after an upper limit.
>
> Thanks,
> Morgan Jones
> Viasat Secure Mobile
>
> _______________________________________________
> hybi mailing list
> hybi@ietf.org
> https://www.ietf.org/mailman/listinfo/hybi
>