diff options
Diffstat (limited to 'src/transport/plugin_transport.h')
-rw-r--r-- | src/transport/plugin_transport.h | 6 |
1 files changed, 5 insertions, 1 deletions
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 * | |||
349 | * @param plugin_context value we were asked to pass to this plugin | 349 | * @param plugin_context value we were asked to pass to this plugin |
350 | * to respond to the given peer (use is optional, | 350 | * to respond to the given peer (use is optional, |
351 | * but may speed up processing), can be NULL (if | 351 | * but may speed up processing), can be NULL (if |
352 | * NULL was returned from the transmit function) | 352 | * NULL was returned from the transmit function); note |
353 | * that use of NULL is dangerous since then this call may | ||
354 | * cancel any session with the target peer (including | ||
355 | * HELLO validation sessions), which is likely not what | ||
356 | * is intended. | ||
353 | * @param service_context must correspond to the service context | 357 | * @param service_context must correspond to the service context |
354 | * of the corresponding Transmit call; the plugin should | 358 | * of the corresponding Transmit call; the plugin should |
355 | * not cancel a send call made with a different service | 359 | * not cancel a send call made with a different service |