From: Christian Grothoff Date: Thu, 23 Dec 2010 15:52:14 +0000 (+0000) Subject: docu X-Git-Tag: initial-import-from-subversion-38251~19401 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=b62eced93de9e54f0c8c1cc1a9fbc3c0f9bf7fc5;p=oweals%2Fgnunet.git docu --- 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?