From: Juliusz Chroboczek <jch@irif.fr> To: galene@lists.galene.org Cc: Jeroen van Veen <jvanveen@protonmail.com> Subject: [Galene] Heads up: file transfer now handled by protocol.js Date: Mon, 25 Jul 2022 19:27:19 +0200 [thread overview] Message-ID: <87r129umq0.wl-jch@irif.fr> (raw) 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
next reply other threads:[~2022-07-25 17:27 UTC|newest] Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top 2022-07-25 17:27 Juliusz Chroboczek [this message] 2022-08-12 11:00 ` [Galene] " Jeroen van Veen
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style List information: https://lists.galene.org/postorius/lists/galene.lists.galene.org/ * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=87r129umq0.wl-jch@irif.fr \ --to=jch@irif.fr \ --cc=galene@lists.galene.org \ --cc=jvanveen@protonmail.com \ --subject='Re: [Galene] Heads up: file transfer now handled by protocol.js' \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox