From 1af7089613b26d36201ff0517c84df288de55540 Mon Sep 17 00:00:00 2001 From: Roberto De Ioris Date: Wed, 26 Aug 2015 07:11:02 +0200 Subject: [PATCH] add a note about multiple emperor subscriptions --- plugins/corerouter/cr_common.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/plugins/corerouter/cr_common.c b/plugins/corerouter/cr_common.c index dddca8f9..e66a162d 100644 --- a/plugins/corerouter/cr_common.c +++ b/plugins/corerouter/cr_common.c @@ -279,6 +279,10 @@ void uwsgi_corerouter_manage_internal_subscription(struct uwsgi_corerouter *ucr, } int corerouter_spawn_vassal(struct uwsgi_corerouter *ucr, struct uwsgi_subscribe_node *node, int attempt) { + // TODO + // a vassal field could be in the form address:name where address is the emperor command socket + // to use. As we cannot know in advance if it will be a UDP or UNIX address, we need to + // re-create and close the socket every time. if (!ucr->emperor_socket) return -1; int ret = -1;