[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [gnunet-nim] branch master updated: Revert "workaround not
From: |
gnunet |
Subject: |
[GNUnet-SVN] [gnunet-nim] branch master updated: Revert "workaround not needed anymore?" |
Date: |
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
commit b2618ae095b2678381ebbe7997b1392646846c07
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
--- 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 "workaround not needed anymore?",
gnunet <=