From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: mail.toke.dk; spf=pass (mailfrom) smtp.mailfrom=protonmail.com (client-ip=185.70.40.131; helo=mail-40131.protonmail.ch; envelope-from=jvanveen@protonmail.com; receiver=) Authentication-Results: mail.toke.dk; dkim=pass (2048-bit key; secure) header.d=protonmail.com header.i=@protonmail.com header.a=rsa-sha256 header.s=protonmail3 header.b=DOoWjZJP Received: from mail-40131.protonmail.ch (mail-40131.protonmail.ch [185.70.40.131]) by mail.toke.dk (Postfix) with ESMTPS id 3ACFF995D00 for ; Fri, 12 Aug 2022 13:00:29 +0200 (CEST) Date: Fri, 12 Aug 2022 11:00:19 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1660302027; x=1660561227; bh=j8paRYLgqsqZyIOQXvAwfX6Z9CoqWLWsBSpTRvwBm8s=; h=Date:To:From:Cc:Reply-To:Subject:Message-ID:In-Reply-To: References:Feedback-ID:From:To:Cc:Date:Subject:Reply-To: Feedback-ID:Message-ID; b=DOoWjZJPUfWN7292fq1sER5ZFnfkWIuA3WOeuC5pk3T4ihskoQzEk4EzGWf3ohdth +UD1gGNFopcjA+29ip0isLNwQT2et77wfaigSR2fv+MGR9zXA6XsK0M51FAXgzdzqs q4P2TZxUo1l1Z9WPrxHaq/U0jeba9Eb5IvwoAqzQ08gUCalyhLlpwO+OV3Ix/CwZz3 VYBYAUpSu/lzrL3yE2TRXWbdYb0/5atfXZ6mu5dtU65NuoAau1RHF+0hEyleU2xGRL Paj3r3fkh8sK1nXl7mqMUMP3vog1KLeNcSBH98rsFDT+6CHn7qvU3iS/4eQYJkseMg 6NpUvzxdqqBQg== To: Juliusz Chroboczek From: Jeroen van Veen Message-ID: In-Reply-To: <87r129umq0.wl-jch@irif.fr> References: <87r129umq0.wl-jch@irif.fr> Feedback-ID: 11782011:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Message-ID-Hash: TBY4FHSY75K7TVHJSJZJ32OUDCP4323S X-Message-ID-Hash: TBY4FHSY75K7TVHJSJZJ32OUDCP4323S X-MailFrom: jvanveen@protonmail.com 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: galene@lists.galene.org X-Mailman-Version: 3.3.5 Precedence: list Reply-To: Jeroen van Veen Subject: [Galene] Re: 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: Hey Juliusz, Good idea! That makes it easier to keep this feature in sync for both clien= ts. I'll adapt the code as soon I got the UI for file transfer ready. cheers, Jeroen ------- Original Message ------- Op maandag 25 juli 2022 om 7:27 PM schreef Juliusz Chroboczek = : > > > 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 bette= r > 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 > _______________________________________________ > Galene mailing list -- galene@lists.galene.org > To unsubscribe send an email to galene-leave@lists.galene.org