docu
authorChristian Grothoff <christian@grothoff.org>
Thu, 23 Dec 2010 15:52:14 +0000 (15:52 +0000)
committerChristian Grothoff <christian@grothoff.org>
Thu, 23 Dec 2010 15:52:14 +0000 (15:52 +0000)
src/include/gnunet_transport_plugin.h

index 83ecf6fb8bb6f3c1e9f2cc8b1d4b7168aa56d808..d8e5671067a29b10b33aeb7813907851e70a1d02 100644 (file)
@@ -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?