[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [gnunet-nim] branch master updated: Revert "workaround not
[GNUnet-SVN] [gnunet-nim] branch master updated: Revert "workaround not needed anymore?"
Mon, 24 Jun 2019 13:40:14 +0200
This is an automated email from the git hooks/post-receive script.
lurchi pushed a commit to branch master
in repository gnunet-nim.
The following commit(s) were added to refs/heads/master by this push:
new b2618ae Revert "workaround not needed anymore?"
b2618ae is described below
Author: lurchi <address@hidden>
AuthorDate: Mon Jun 24 13:39:15 2019 +0200
Revert "workaround not needed anymore?"
This reverts commit e11c4d34c207de5af6ed61446ebbcbf968aed9b7.
src/gnunet_nim/cadet.nim | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/gnunet_nim/cadet.nim b/src/gnunet_nim/cadet.nim
index 665b5cd..b9fe0b7 100644
@@ -27,6 +27,9 @@ proc channelDisconnectCb(cls: pointer,
let channel = cast[ptr CadetChannel](cls)
channel.handle = nil
+ # workaround: if poll in main is called with a timeout > 0, the stream
+ # not notified about the end of the stream (Nim bug?). So call poll here,
proc channelConnectCb(cls: pointer,
gnunetChannel: ptr GNUNET_CADET_Channel,
To stop receiving notification emails like this one, please contact
|[Prev in Thread]
||[Next in Thread]|
- [GNUnet-SVN] [gnunet-nim] branch master updated: Revert "workaround not needed anymore?",