From b62eced93de9e54f0c8c1cc1a9fbc3c0f9bf7fc5 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Thu, 23 Dec 2010 15:52:14 +0000 Subject: [PATCH] docu --- src/include/gnunet_transport_plugin.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/include/gnunet_transport_plugin.h b/src/include/gnunet_transport_plugin.h index 83ecf6fb8..d8e567106 100644 --- a/src/include/gnunet_transport_plugin.h +++ b/src/include/gnunet_transport_plugin.h @@ -251,7 +251,12 @@ struct GNUNET_TRANSPORT_PluginEnvironment /** * Function called by the GNUNET_TRANSPORT_TransmitFunction - * upon "completion". + * upon "completion". In the case that a peer disconnects, + * this function must be called for each pending request + * (with a 'failure' indication) AFTER notifying the service + * about the disconnect event (so that the service won't try + * to transmit more messages, believing the connection still + * exists...). * * @param cls closure * @param target who was the recipient of the message? -- 2.25.1