aboutsummaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/exchange_api_management_revoke_denomination_key.c5
-rw-r--r--src/lib/exchange_api_management_revoke_signing_key.c5
-rw-r--r--src/lib/exchange_api_management_wire_disable.c5
-rw-r--r--src/lib/exchange_api_management_wire_enable.c5
4 files changed, 20 insertions, 0 deletions
diff --git a/src/lib/exchange_api_management_revoke_denomination_key.c b/src/lib/exchange_api_management_revoke_denomination_key.c
index fa2962038..722c13ab9 100644
--- a/src/lib/exchange_api_management_revoke_denomination_key.c
+++ b/src/lib/exchange_api_management_revoke_denomination_key.c
@@ -89,6 +89,11 @@ handle_revoke_denomination_finished (void *cls,
rh->job = NULL;
switch (response_code)
{
+ case 0:
+ /* no reply */
+ hr.ec = TALER_EC_GENERIC_INVALID_RESPONSE;
+ hr.hint = "server offline?";
+ break;
case MHD_HTTP_NO_CONTENT:
break;
case MHD_HTTP_FORBIDDEN:
diff --git a/src/lib/exchange_api_management_revoke_signing_key.c b/src/lib/exchange_api_management_revoke_signing_key.c
index 3e8b7f63f..c58f7bdbc 100644
--- a/src/lib/exchange_api_management_revoke_signing_key.c
+++ b/src/lib/exchange_api_management_revoke_signing_key.c
@@ -86,6 +86,11 @@ handle_revoke_signing_finished (void *cls,
rh->job = NULL;
switch (response_code)
{
+ case 0:
+ /* no reply */
+ hr.ec = TALER_EC_GENERIC_INVALID_RESPONSE;
+ hr.hint = "server offline?";
+ break;
case MHD_HTTP_NO_CONTENT:
break;
case MHD_HTTP_FORBIDDEN:
diff --git a/src/lib/exchange_api_management_wire_disable.c b/src/lib/exchange_api_management_wire_disable.c
index 157d146b8..f7fc719d9 100644
--- a/src/lib/exchange_api_management_wire_disable.c
+++ b/src/lib/exchange_api_management_wire_disable.c
@@ -86,6 +86,11 @@ handle_auditor_disable_finished (void *cls,
wh->job = NULL;
switch (response_code)
{
+ case 0:
+ /* no reply */
+ hr.ec = TALER_EC_GENERIC_INVALID_RESPONSE;
+ hr.hint = "server offline?";
+ break;
case MHD_HTTP_NO_CONTENT:
break;
case MHD_HTTP_FORBIDDEN:
diff --git a/src/lib/exchange_api_management_wire_enable.c b/src/lib/exchange_api_management_wire_enable.c
index 9be4dfb12..6755c1698 100644
--- a/src/lib/exchange_api_management_wire_enable.c
+++ b/src/lib/exchange_api_management_wire_enable.c
@@ -86,6 +86,11 @@ handle_auditor_enable_finished (void *cls,
wh->job = NULL;
switch (response_code)
{
+ case 0:
+ /* no reply */
+ hr.ec = TALER_EC_GENERIC_INVALID_RESPONSE;
+ hr.hint = "server offline?";
+ break;
case MHD_HTTP_NO_CONTENT:
break;
case MHD_HTTP_FORBIDDEN: