From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.proxmox.com (Postfix) with ESMTPS id 0211563337 for ; Wed, 15 Jul 2020 15:01:28 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id E01BE2FD38 for ; Wed, 15 Jul 2020 15:00:58 +0200 (CEST) Received: from proxmox-new.maurer-it.com (proxmox-new.maurer-it.com [212.186.127.180]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by firstgate.proxmox.com (Proxmox) with ESMTPS id 692CD2FD2D for ; Wed, 15 Jul 2020 15:00:58 +0200 (CEST) Received: from proxmox-new.maurer-it.com (localhost.localdomain [127.0.0.1]) by proxmox-new.maurer-it.com (Proxmox) with ESMTP id 2F99042FD4 for ; Wed, 15 Jul 2020 15:00:58 +0200 (CEST) Date: Wed, 15 Jul 2020 15:00:56 +0200 From: Wolfgang Bumiller To: Dominik Csapak Cc: pbs-devel@lists.proxmox.com Message-ID: <20200715130056.xdjntivqtnd3b3m7@olga.proxmox.com> References: <20200714110957.31884-1-d.csapak@proxmox.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200714110957.31884-1-d.csapak@proxmox.com> User-Agent: NeoMutt/20180716 X-SPAM-LEVEL: Spam detection results: 0 KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment RCVD_IN_DNSWL_MED -2.3 Sender listed at https://www.dnswl.org/, medium trust SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record URIBL_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [websocket.rs] Subject: [pbs-devel] applied: [PATCH proxmox 0/9] preparation for websocket api X-BeenThere: pbs-devel@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox Backup Server development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Jul 2020 13:01:29 -0000 applied series, added a minor Cargo.toml fixup (expecting some minor follow-ups) On Tue, Jul 14, 2020 at 01:09:48PM +0200, Dominik Csapak wrote: > this series adds the necessary bits and pieces for using a > websocket connection in the api > > Dominik Csapak (9): > proxmox/tools/byte_buffer: improve ByteBuffer interface > proxmox/tools/byte_buffer: impl Default > proxmox/tools/websocket: use ready macro for WebSocketWriter > proxmox/tools/websocket: correctly return eof > proxmox/tools/websocket: use io::Error and Result explicitely > proxmox/tools/websocket: improve mask_bytes and create_frame interface > proxmox/tools/websocket: implement send_control_frame for writer > proxmox/tools/websocket: replace CallBack with a channel > proxmox/tools/websocket: add WebSocket implementation > > proxmox/Cargo.toml | 3 +- > proxmox/src/tools/byte_buffer.rs | 97 ++++++---- > proxmox/src/tools/websocket.rs | 296 +++++++++++++++++++++++++------ > 3 files changed, 306 insertions(+), 90 deletions(-) > > -- > 2.20.1