BUG/MINOR: stream-int: do not clear the owner upon unregister

Since the applet rework and the removal of the inter-task applets,
we must not clear the stream-interface's owner task anymore otherwise
we risk a crash when maintaining keep-alive with an applet. This is
not possible right now so there is no impact yet, but this bug is not
easy to track down. No backport is needed.
This commit is contained in:
Willy Tarreau 2013-12-28 21:06:18 +01:00
parent 983eb31fd1
commit 61f7f0a959

View File

@ -379,7 +379,6 @@ struct appctx *stream_int_register_handler(struct stream_interface *si, struct s
void stream_int_unregister_handler(struct stream_interface *si)
{
si_detach(si);
si->owner = NULL;
}
/* This callback is used to send a valid PROXY protocol line to a socket being