Code Review
/
src
/
app-framework-binder.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
0033c7c
)
afb-stub-ws: Always validate clients of stub-ws
author
José Bollo
<jose.bollo@iot.bzh>
Thu, 12 Oct 2017 20:59:09 +0000
(22:59 +0200)
committer
José Bollo
<jose.bollo@iot.bzh>
Thu, 12 Oct 2017 20:59:09 +0000
(22:59 +0200)
Change-Id: I2c020d586e6f22e47dac8ddb50c8ee9ca9c46b2e
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
src/afb-stub-ws.c
patch
|
blob
|
history
diff --git
a/src/afb-stub-ws.c
b/src/afb-stub-ws.c
index
8533c79
..
693a0d0
100644
(file)
--- 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);