[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [gnunet] 03/17: handle transmissions initiated during disco
From: |
gnunet |
Subject: |
[GNUnet-SVN] [gnunet] 03/17: handle transmissions initiated during disconnect callbacks by dropping |
Date: |
Mon, 09 Jan 2017 21:19:09 +0100 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository gnunet.
commit fa960b4f0d98235888fbaf5edfca2858ee102a34
Author: Christian Grothoff <address@hidden>
AuthorDate: Mon Jan 9 08:32:21 2017 +0100
handle transmissions initiated during disconnect callbacks by dropping
---
src/core/core_api_2.c | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/src/core/core_api_2.c b/src/core/core_api_2.c
index d810bf2ec..7826cd03e 100644
--- a/src/core/core_api_2.c
+++ b/src/core/core_api_2.c
@@ -299,6 +299,12 @@ core_mq_send_impl (struct GNUNET_MQ_Handle *mq,
int cork;
enum GNUNET_CORE_Priority priority;
+ if (NULL == h->mq)
+ {
+ /* We're currently reconnecting, pretend this worked */
+ GNUNET_MQ_impl_send_continue (mq);
+ return;
+ }
GNUNET_assert (NULL == pr->env);
/* extract options from envelope */
env = GNUNET_MQ_get_current_envelope (mq);
--
To stop receiving notification emails like this one, please contact
address@hidden
- [GNUnet-SVN] [gnunet] branch master updated (fc158da4c -> aae0e990d), gnunet, 2017/01/09
- [GNUnet-SVN] [gnunet] 15/17: remove obsolete options, gnunet, 2017/01/09
- [GNUnet-SVN] [gnunet] 13/17: cosmetics, gnunet, 2017/01/09
- [GNUnet-SVN] [gnunet] 05/17: ignore zonefiles dir, gnunet, 2017/01/09
- [GNUnet-SVN] [gnunet] 07/17: rename new core API implementation to name of standard implementation, gnunet, 2017/01/09
- [GNUnet-SVN] [gnunet] 08/17: rename new client API implementation to name of standard implementation, gnunet, 2017/01/09
- [GNUnet-SVN] [gnunet] 04/17: dead code elimination, gnunet, 2017/01/09
- [GNUnet-SVN] [gnunet] 03/17: handle transmissions initiated during disconnect callbacks by dropping,
gnunet <=
- [GNUnet-SVN] [gnunet] 12/17: enable upnpc by default, gnunet, 2017/01/09
- [GNUnet-SVN] [gnunet] 01/17: out-of-order PIDs are not exactly protocol violations, hence do not report as such, gnunet, 2017/01/09
- [GNUnet-SVN] [gnunet] 10/17: fix link issue, gnunet, 2017/01/09
- [GNUnet-SVN] [gnunet] 09/17: log at DEBUG level, gnunet, 2017/01/09
- [GNUnet-SVN] [gnunet] 02/17: cancel potentially dangling reconnect task, gnunet, 2017/01/09
- [GNUnet-SVN] [gnunet] 16/17: do not attempt to publish empty HELLOs, gnunet, 2017/01/09
- [GNUnet-SVN] [gnunet] 14/17: improve comments, gnunet, 2017/01/09
- [GNUnet-SVN] [gnunet] 17/17: cosmetics, gnunet, 2017/01/09
- [GNUnet-SVN] [gnunet] 11/17: eliminate dead NAT options, gnunet, 2017/01/09
- [GNUnet-SVN] [gnunet] 06/17: remove legacy core api code (now dead), gnunet, 2017/01/09