From: Juliusz Chroboczek <jch@irif.fr>
To: Goffi <goffi@goffi.org>
Cc: galene@lists.galene.org
Subject: [Galene] Re: Need explanation on protocol
Date: Mon, 22 Jul 2024 19:52:40 +0200 [thread overview]
Message-ID: <871q3le2l3.wl-jch@irif.fr> (raw)
In-Reply-To: <172167026848.994.7816686770190093792@gauss.local>
> Later on, when Louise is connecting to "test", Galène push this offer to me:
[...]n
> But as you can see, the ID is the same, `06cf28c8-95b5-4c22-9444-1f0d4e5a2938`.
The ID is chosen by the sending client, and should be chosen so as to not
collide. The simplest solution is to choose it randomly:
https://github.com/jech/galene/blob/master/static/protocol.js#L45
How are you generating your ids?
(There is code in the server that is meant to protect against duplicate
IDs, but it's never been tested, and I suspect it's not working. I'll
have a look.)
-- Juliusz
next parent reply other threads:[~2024-07-22 17:52 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <172167026848.994.7816686770190093792@gauss.local>
2024-07-22 17:52 ` Juliusz Chroboczek [this message]
2024-07-22 18:02 ` Goffi
[not found] ` <172167246572.994.11732831478625410475@gauss.local>
2024-07-22 18:26 ` Juliusz Chroboczek
2024-07-22 20:44 ` Goffi
[not found] ` <172168132829.994.3096417796511056404@gauss.local>
2024-07-22 20:50 ` Juliusz Chroboczek
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=871q3le2l3.wl-jch@irif.fr \
--to=jch@irif.fr \
--cc=galene@lists.galene.org \
--cc=goffi@goffi.org \
/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
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox