mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-09-23 14:51:27 +02:00
CLEANUP: stream-int: fix a few outdated comments about stream_int_register_handler()
They were not updated after the infrastructure change.
This commit is contained in:
parent
069b0c8e6f
commit
a9ff5e64c1
@ -375,13 +375,11 @@ static void stream_int_chk_snd(struct stream_interface *si)
|
|||||||
task_wakeup(si_task(si), TASK_WOKEN_IO);
|
task_wakeup(si_task(si), TASK_WOKEN_IO);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Register an applet to handle a stream_interface as part of the
|
/* Register an applet to handle a stream_interface as a new appctx. The SI will
|
||||||
* stream interface's owner task. The SI will wake it up everytime it
|
* wake it up everytime it is solicited. The appctx must be deleted by the task
|
||||||
* is solicited. The task's processing function must call the applet's
|
* handler using si_release_endpoint(), possibly from within the function itself.
|
||||||
* function before returning. It must be deleted by the task handler
|
* It also pre-initializes the applet's context and returns it (or NULL in case
|
||||||
* using stream_int_unregister_handler(), possibly from within the
|
* it could not be allocated).
|
||||||
* function itself. It also pre-initializes the applet's context and
|
|
||||||
* returns it (or NULL in case it could not be allocated).
|
|
||||||
*/
|
*/
|
||||||
struct appctx *stream_int_register_handler(struct stream_interface *si, struct applet *app)
|
struct appctx *stream_int_register_handler(struct stream_interface *si, struct applet *app)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user