From 32bc7ed3914171cd7945551a5ba82afe909afe32 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jos=C3=A9=20Bollo?= Date: Thu, 12 Oct 2017 22:59:09 +0200 Subject: [PATCH] afb-stub-ws: Always validate clients of stub-ws MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Change-Id: I2c020d586e6f22e47dac8ddb50c8ee9ca9c46b2e Signed-off-by: José Bollo --- src/afb-stub-ws.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/afb-stub-ws.c b/src/afb-stub-ws.c index 8533c797..693a0d0c 100644 --- a/src/afb-stub-ws.c +++ b/src/afb-stub-ws.c @@ -479,6 +479,7 @@ static void on_call(void *closure, struct afb_proto_ws_call *call, const char *v /* init the context */ if (afb_context_connect(&wreq->xreq.context, sessionid, NULL) < 0) goto unconnected; + wreq->xreq.context.validated = 1; /* makes the call */ wreq->xreq.cred = afb_cred_addref(stubws->cred); -- 2.16.6