[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [gnunet-nim] branch master updated: Revert "Revert "Revert
From: |
gnunet |
Subject: |
[GNUnet-SVN] [gnunet-nim] branch master updated: Revert "Revert "Revert "workaround not needed anymore?""" |
Date: |
Mon, 24 Jun 2019 13:53:35 +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 b765f12 Revert "Revert "Revert "workaround not needed anymore?"""
b765f12 is described below
commit b765f12e5587507c39e8a8282727eb3e205d1a3b
Author: lurchi <address@hidden>
AuthorDate: Mon Jun 24 13:52:29 2019 +0200
Revert "Revert "Revert "workaround not needed anymore?"""
This reverts commit eca59367655fd1a744e114584b121c3e147c2bdd.
---
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
--- a/src/gnunet_nim/cadet.nim
+++ b/src/gnunet_nim/cadet.nim
@@ -27,6 +27,9 @@ proc channelDisconnectCb(cls: pointer,
let channel = cast[ptr CadetChannel](cls)
channel.handle = nil
channel.messages.complete()
+ # workaround: if poll in main is called with a timeout > 0, the stream
reader is
+ # not notified about the end of the stream (Nim bug?). So call poll here,
too.
+ poll(0)
proc channelConnectCb(cls: pointer,
gnunetChannel: ptr GNUNET_CADET_Channel,
--
To stop receiving notification emails like this one, please contact
address@hidden.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] [gnunet-nim] branch master updated: Revert "Revert "Revert "workaround not needed anymore?""",
gnunet <=