Re: [hybi] WebSocket Close Code: Timeout

"Jones, Morgan" <Morgan.Jones@viasat.com> Wed, 31 January 2024 02:22 UTC

Return-Path: <prvs=37604cad2e=morgan.jones@viasat.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 1F77CC1519B3 for <hybi@ietfa.amsl.com>; Tue, 30 Jan 2024 18:22:08 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.107
X-Spam-Level:
X-Spam-Status: No, score=-2.107 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, 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] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=viasat.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 e6neAMTTm4Xn for <hybi@ietfa.amsl.com>; Tue, 30 Jan 2024 18:22:04 -0800 (PST)
Received: from mta-us-central-03.viasat.com (mta-us-central-03.viasat.com [8.37.103.60]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 3E004C1519B2 for <hybi@ietf.org>; Tue, 30 Jan 2024 18:22:04 -0800 (PST)
Received: from pps.filterd (wdc1mta02.viasat.com [127.0.0.1]) by wdc1mta02.viasat.com (8.17.1.19/8.17.1.19) with ESMTP id 40V0v7cC031344 for <hybi@ietf.org>; Wed, 31 Jan 2024 02:22:03 GMT
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=viasat.com; h=from : to : subject : date : message-id : references : in-reply-to : content-type : content-transfer-encoding : mime-version; s=pp1; bh=OPKOETffI/KWukeeMXjqE0KGr+ltcg1biDpj68G/aWw=; b=nz4IX7YhQlzJry+qGsvurlLEs2VuDajwwyxu1oZKdbpdlu16NUKTPOw3DfWv6l7WX3V8 sVX/nyEJt0n9ciJswVGsOV6IDaZ+L/LOmy1SiZbsCGaDW2lijlNB7M7k+zPB3Vh6EjbA cD4cZbiHRllyKn0tblfeFTBhM1wERWTkDxqy5Rcmrnql/F2zbiBoA/xBwKgKucOW/Xv+ dCybLTJxNASferechHBa6VXMb5kenGqNx6+DrxQChcT5Cn+4VaUAAhtwBYcPxy7eUyZ8 HiiUxynruaBk6xMpWY9hwVGwzcdvRT6b9JRn2BiVqjA4cYJCRASLgr4/tZudQk3DZwpq yg==
From: "Jones, Morgan" <Morgan.Jones@viasat.com>
To: "hybi@ietf.org" <hybi@ietf.org>
Thread-Topic: WebSocket Close Code: Timeout
Thread-Index: Adl3Bg5Vq8MNHqYySWuWWXri7qKlDDc5hMFg
Date: Wed, 31 Jan 2024 02:22:02 +0000
Message-ID: <465d67cbde4b4a58a30e58fe43f3b597@viasat.com>
References: <602d83f1fc1b40fea701a5cd8ae4b3f0@viasat.com>
In-Reply-To: <602d83f1fc1b40fea701a5cd8ae4b3f0@viasat.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Proofpoint-ORIG-GUID: YK_K-o24squx1_CrVX828kzhsYurg-dZ
X-Proofpoint-GUID: YK_K-o24squx1_CrVX828kzhsYurg-dZ
X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1011,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-01-30_14,2024-01-30_01,2023-05-22_02
X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 malwarescore=0 mlxlogscore=589 spamscore=0 lowpriorityscore=0 clxscore=1011 priorityscore=1501 impostorscore=0 adultscore=0 suspectscore=0 phishscore=0 bulkscore=0 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2311290000 definitions=main-2401310018
Archived-At: <https://mailarchive.ietf.org/arch/msg/hybi/7myLDsLdP4C9E41pm9dNao2kwJU>
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: Wed, 31 Jan 2024 02:22:08 -0000

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