From 0853f000f4b86192d7b89de03b3871581a8c1382 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Wed, 15 Jul 2009 23:43:00 +0000 Subject: bugfixes --- src/transport/plugin_transport.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/transport/plugin_transport.h') diff --git a/src/transport/plugin_transport.h b/src/transport/plugin_transport.h index 10fad4886..2a2e90d2a 100644 --- a/src/transport/plugin_transport.h +++ b/src/transport/plugin_transport.h @@ -349,7 +349,11 @@ typedef void * * @param plugin_context value we were asked to pass to this plugin * to respond to the given peer (use is optional, * but may speed up processing), can be NULL (if - * NULL was returned from the transmit function) + * NULL was returned from the transmit function); note + * that use of NULL is dangerous since then this call may + * cancel any session with the target peer (including + * HELLO validation sessions), which is likely not what + * is intended. * @param service_context must correspond to the service context * of the corresponding Transmit call; the plugin should * not cancel a send call made with a different service -- cgit v1.2.3