[hybi] WebSocket Close Code: Timeout

"Jones, Morgan" <Morgan.Jones@viasat.com> Mon, 24 April 2023 23:40 UTC

Return-Path: <prvs=3478a5daab=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 B5C5BC15153E for <hybi@ietfa.amsl.com>; Mon, 24 Apr 2023 16:40:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.095
X-Spam-Level:
X-Spam-Status: No, score=-2.095 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_DNSWL_BLOCKED=0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, 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 OjwvUfPfn8jn for <hybi@ietfa.amsl.com>; Mon, 24 Apr 2023 16:40:19 -0700 (PDT)
Received: from mta-us-central-02.viasat.com (mta-us-central-02.viasat.com [8.37.103.59]) (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 DE2D1C14F736 for <hybi@ietf.org>; Mon, 24 Apr 2023 16:40:19 -0700 (PDT)
Received: from pps.filterd (wdc1mta01.viasat.com [127.0.0.1]) by wdc1mta01.viasat.com (8.17.1.19/8.17.1.19) with ESMTP id 33ONKetb024253 for <hybi@ietf.org>; Mon, 24 Apr 2023 23:40:19 GMT
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=viasat.com; h=from : to : subject : date : message-id : content-type : content-transfer-encoding : mime-version; s=pp1; bh=1a+f2gl0/GJs/wkQXkcBVvq/LhrvNO/5Nd8DXtisNwU=; b=KSY3ohU7+/r4lgrslzH26rA3aCmhTjv3ydvbM1d0dZC9wK3g0pblzQOEAY21abRkvGAn yGmzZVQGXGiAeStbzb9cvCu7N4mrEXDm96kDXaNRXb4Wi7QUryh9g3wSPEZQY26IRsFB 1uh0hg5bM2kBq3gneG6U4PI34fOo5hC7p0fx8FbM4O0272p55CJ1E1mAn1g1eL6H2uD+ OI4N6jkNa6SdY6zbqkga7EDRbyjuiyetxLkvAYmkTdEkHPkavw1ISj5TiLeYKIdhFi1F HdJk6TQ7OctvHaEpf6o8d68/pGCKE4OsOnoc0JUMFhUoojhcFdFvwcto8OEGAFRzszWR Kw==
From: "Jones, Morgan" <Morgan.Jones@viasat.com>
To: "hybi@ietf.org" <hybi@ietf.org>
Thread-Topic: WebSocket Close Code: Timeout
Thread-Index: Adl3Bg5Vq8MNHqYySWuWWXri7qKlDA==
Date: Mon, 24 Apr 2023 23:40:18 +0000
Message-ID: <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: NnhTTNMUAlIs5T_NZTLEG5DVuN0GXXk1
X-Proofpoint-GUID: NnhTTNMUAlIs5T_NZTLEG5DVuN0GXXk1
X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.942,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-04-24_11,2023-04-21_01,2023-02-09_01
X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 lowpriorityscore=0 malwarescore=0 phishscore=0 mlxscore=0 suspectscore=0 mlxlogscore=558 spamscore=0 bulkscore=0 adultscore=0 impostorscore=0 priorityscore=1501 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2303200000 definitions=main-2304240215
Archived-At: <https://mailarchive.ietf.org/arch/msg/hybi/1sUHADOqQNzf7wmxEABHzbsl3LM>
Subject: [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: Mon, 24 Apr 2023 23:40:23 -0000

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