diff options
author | Christian Grothoff <christian@grothoff.org> | 2021-08-16 21:34:13 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2021-08-16 21:34:13 +0200 |
commit | 2a53e1758257b1af89e085511e4e7eba809ed84e (patch) | |
tree | b3d1b995ab9d9a30452e2c12dd95d6b80e99b5f7 /src/backend/anastasis-httpd_truth.c | |
parent | d94a0fe2f979348b45289b66b1cb5f72c3c3e76c (diff) | |
download | anastasis-2a53e1758257b1af89e085511e4e7eba809ed84e.tar.gz anastasis-2a53e1758257b1af89e085511e4e7eba809ed84e.tar.bz2 anastasis-2a53e1758257b1af89e085511e4e7eba809ed84e.zip |
-modify backend to support new truth validation flow
Diffstat (limited to 'src/backend/anastasis-httpd_truth.c')
-rw-r--r-- | src/backend/anastasis-httpd_truth.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/backend/anastasis-httpd_truth.c b/src/backend/anastasis-httpd_truth.c index 0b0d22f..2c757db 100644 --- a/src/backend/anastasis-httpd_truth.c +++ b/src/backend/anastasis-httpd_truth.c @@ -961,6 +961,18 @@ run_authorization_process (struct MHD_Connection *connection, gc->authorization->cleanup (gc->as); gc->as = NULL; return MHD_NO; + case ANASTASIS_AUTHORIZATION_RES_FINISHED: + GNUNET_assert (! gc->suspended); + gc->authorization->cleanup (gc->as); + gc->as = NULL; + if (gc->in_list) + { + GNUNET_CONTAINER_DLL_remove (gc_head, + gc_tail, + gc); + gc->in_list = false; + } + return MHD_YES; } GNUNET_break (0); return MHD_NO; |