gnunet-developers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-developers] gnunet-nim bug on "removed cadet option"


From: Marcos Marado
Subject: [GNUnet-developers] gnunet-nim bug on "removed cadet option"
Date: Mon, 29 Jul 2019 23:22:15 +0100

Hi,

I haven't had time to debug this too much, but either gunet-nim's latest commit,
"removed cadet option"[1], is buggy, or at least the only good example I know
of it (groupchat) needs to be updated to work with it.

With that commit on gnunet-nim, groupchat's client will get a server message
without data, and enter this 'if not' clause:

proc processServerMessages(channel: ref CadetChannel, tui: Tui) {.async.} =
  while true:
    let (hasData, message) = await channel.messages.read()
    if not hasData:
      shutdownGnunetApplication()

[1] https://git.gnunet.org/gnunet-nim.git/commit/?id=38c51715cfe0b2c6cdc662cffcc8de2eec8d28a9

Best regards,
--
Marcos Marado

reply via email to

[Prev in Thread] Current Thread [Next in Thread]