diff options
author | Jose Bollo <jose.bollo@iot.bzh> | 2019-11-15 15:33:26 +0100 |
---|---|---|
committer | Jose Bollo <jose.bollo@iot.bzh> | 2019-11-25 11:48:31 +0100 |
commit | 0d3dc9722c610857c2f83c4f3bf06299f2426a95 (patch) | |
tree | 5d2a8b950e32d5ca61b73ffe17266f0d9c5e5aac /src/afb-xreq.c | |
parent | e6908a2ee7b645517c062f2fd0419fcb3f4f976e (diff) |
Remove refreshing token
The token is no more generated by the binder
but by some external component.
Bug-AGL: SPEC-2968
Change-Id: I2c6221034272ab097e21e7727e4840b6b47bd0dc
Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'src/afb-xreq.c')
-rw-r--r-- | src/afb-xreq.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/afb-xreq.c b/src/afb-xreq.c index 17a603c3..85427419 100644 --- a/src/afb-xreq.c +++ b/src/afb-xreq.c @@ -760,9 +760,6 @@ static int xreq_session_check_apply_v1(struct afb_xreq *xreq, int sessionflags) } } - if ((sessionflags & AFB_SESSION_RENEW_X1) != 0) { - afb_context_refresh(&xreq->context); - } if ((sessionflags & AFB_SESSION_CLOSE_X1) != 0) { afb_context_change_loa(&xreq->context, 0); afb_context_close(&xreq->context); @@ -798,9 +795,6 @@ static int xreq_session_check_apply_v2(struct afb_xreq *xreq, uint32_t sessionfl return -1; } - if ((sessionflags & AFB_SESSION_REFRESH_X2) != 0) { - afb_context_refresh(&xreq->context); - } if ((sessionflags & AFB_SESSION_CLOSE_X2) != 0) { afb_context_close(&xreq->context); } |