From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp5-g21.free.fr (smtp5-g21.free.fr [212.27.42.5]) by mail.toke.dk (Postfix) with ESMTPS id CE3FE98EB2F for ; Mon, 25 Jul 2022 19:27:23 +0200 (CEST) Received: from pirx.irif.fr (unknown [IPv6:2a01:e34:ec22:84a0:6a4:8315:81c2:9e8e]) (Authenticated sender: chrobo@free.fr) by smtp5-g21.free.fr (Postfix) with ESMTPSA id 6B21F6012F; Mon, 25 Jul 2022 19:27:21 +0200 (CEST) Date: Mon, 25 Jul 2022 19:27:19 +0200 Message-ID: <87r129umq0.wl-jch@irif.fr> From: Juliusz Chroboczek To: galene@lists.galene.org User-Agent: Wanderlust/2.15.9 (Almost Unreal) Emacs/27.1 Mule/6.0 MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII Message-ID-Hash: IR4IX6XNMZSCSHU6HFFNVJIBDQZHV3M6 X-Message-ID-Hash: IR4IX6XNMZSCSHU6HFFNVJIBDQZHV3M6 X-MailFrom: jch@irif.fr X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: Jeroen van Veen X-Mailman-Version: 3.3.5 Precedence: list Subject: [Galene] Heads up: file transfer now handled by protocol.js List-Id: =?utf-8?q?Gal=C3=A8ne_videoconferencing_server_discussion_list?= Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Hi, I've just reworked the file transfer code so it's split into a protocol part (in protocol.js) and a user-interface part (in galene.js). The new code uses an explicit state machine, and therefore should have much better error handling (in particular, you'll no longer see a file transfer hang if the peer goes away). Please test. Unfortunately, this means that if you're maintaining and alternate client and you've reimplemented file transfer, I've just made part of your work obsolete. Sorry, Jeroen. In case anyone is interested, the new code is here: https://github.com/jech/galene/blob/master/static/galene.js#L2415 Yes, that's all there is to it :-) -- Juliusz