diff options
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, | |||
961 | gc->authorization->cleanup (gc->as); | 961 | gc->authorization->cleanup (gc->as); |
962 | gc->as = NULL; | 962 | gc->as = NULL; |
963 | return MHD_NO; | 963 | return MHD_NO; |
964 | case ANASTASIS_AUTHORIZATION_RES_FINISHED: | ||
965 | GNUNET_assert (! gc->suspended); | ||
966 | gc->authorization->cleanup (gc->as); | ||
967 | gc->as = NULL; | ||
968 | if (gc->in_list) | ||
969 | { | ||
970 | GNUNET_CONTAINER_DLL_remove (gc_head, | ||
971 | gc_tail, | ||
972 | gc); | ||
973 | gc->in_list = false; | ||
974 | } | ||
975 | return MHD_YES; | ||
964 | } | 976 | } |
965 | GNUNET_break (0); | 977 | GNUNET_break (0); |
966 | return MHD_NO; | 978 | return MHD_NO; |