diff options
author | Marcello Stanisci <stanisci.m@gmail.com> | 2020-01-15 12:34:54 +0100 |
---|---|---|
committer | Marcello Stanisci <stanisci.m@gmail.com> | 2020-01-15 12:36:09 +0100 |
commit | e77ccd03906bd2db068136bb383976f714b3289e (patch) | |
tree | def5c8ea374dd0b6867225ce9898bfef1e03fe02 /src/auditor | |
parent | 4547bfb318bfad96b12694dd93a50f50717478b6 (diff) | |
download | exchange-e77ccd03906bd2db068136bb383976f714b3289e.tar.xz |
Preflight checks:
put preflight check inside exchangedb start()
function, and provide a preflight method for
auditordb.
Diffstat (limited to 'src/auditor')
-rw-r--r-- | src/auditor/taler-auditor-httpd.c | 4 | ||||
-rw-r--r-- | src/auditor/taler-auditor-httpd_db.c | 1 |
2 files changed, 2 insertions, 3 deletions
diff --git a/src/auditor/taler-auditor-httpd.c b/src/auditor/taler-auditor-httpd.c index 55a343776..0acd8d8bd 100644 --- a/src/auditor/taler-auditor-httpd.c +++ b/src/auditor/taler-auditor-httpd.c @@ -372,8 +372,8 @@ handle_mhd_request (void *cls, { "/version", MHD_HTTP_METHOD_GET, "application/json", NULL, 0, &handle_version, MHD_HTTP_OK }, - /* Landing page, for now tells humans to go away (FIXME: replace - with auditor's welcome page!) */ + /* Landing page, for now tells humans to go away + * (NOTE: ideally, the reverse proxy will respond with a nicer page) */ { "/", MHD_HTTP_METHOD_GET, "text/plain", "Hello, I'm the Taler auditor. This HTTP server is not for humans.\n", 0, &TAH_MHD_handler_static_response, MHD_HTTP_OK }, diff --git a/src/auditor/taler-auditor-httpd_db.c b/src/auditor/taler-auditor-httpd_db.c index 3433e9a9f..ba40ff808 100644 --- a/src/auditor/taler-auditor-httpd_db.c +++ b/src/auditor/taler-auditor-httpd_db.c @@ -70,7 +70,6 @@ TAH_DB_run_transaction (struct MHD_Connection *connection, "failed to establish session with database"); return GNUNET_SYSERR; } - // TAH_plugin->preflight (TAH_plugin->cls, session); // FIXME: needed? for (unsigned int retries = 0; retries < MAX_TRANSACTION_COMMIT_RETRIES; retries++) { |