try fix lock
authorSchanzenbach, Martin <mschanzenbach@posteo.de>
Mon, 15 Jul 2019 15:11:02 +0000 (17:11 +0200)
committerSchanzenbach, Martin <mschanzenbach@posteo.de>
Mon, 15 Jul 2019 15:11:02 +0000 (17:11 +0200)
src/rest/gnunet-rest-server.c

index b0b25f308ae4dc52553f4bbc88cbab3cc9b053b6..63d4ea4fd52c627016ef33dc5057cadc18434d25 100644 (file)
@@ -501,6 +501,7 @@ create_response (void *cls,
                                "Access-Control-Allow-Headers",
                                allow_headers);
     }
+    run_mhd_now ();
     int ret =
       MHD_queue_response (con, con_handle->status, con_handle->response);
     cleanup_handle (con_handle);