aboutsummaryrefslogtreecommitdiffstats
path: root/src/afb-hreq.c
diff options
context:
space:
mode:
authorJose Bollo <jose.bollo@iot.bzh>2019-11-15 16:01:27 +0100
committerJosé Bollo <jose.bollo@iot.bzh>2019-11-29 12:48:14 +0100
commite08d57c0e397018f0c463a66adc232f6358caef5 (patch)
treeb4812a69cffa12745743897f3169520509beba60 /src/afb-hreq.c
parent7c67e966b8292961ca748e47d18ff437214cec1c (diff)
Don't return the uuid
uuid is available in cookies and through a call to monitor/session Bug-AGL: SPEC-2968 Change-Id: I72912f3dc7985cca09e77c952e416b608711abbe Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'src/afb-hreq.c')
-rw-r--r--src/afb-hreq.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/afb-hreq.c b/src/afb-hreq.c
index 6440a8cd..a9010b88 100644
--- a/src/afb-hreq.c
+++ b/src/afb-hreq.c
@@ -166,7 +166,8 @@ static void afb_hreq_reply_v(struct afb_hreq *hreq, unsigned status, struct MHD_
MHD_add_response_header(response, k, v);
k = va_arg(args, const char *);
}
- v = afb_context_sent_uuid(&hreq->xreq.context);
+
+ v = afb_context_uuid(&hreq->xreq.context);
if (v != NULL && asprintf(&cookie, cookie_setter, v) > 0) {
MHD_add_response_header(response, MHD_HTTP_HEADER_SET_COOKIE, cookie);
free(cookie);