diff options
author | Christian Grothoff <christian@grothoff.org> | 2021-12-08 18:12:28 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2021-12-08 18:12:28 +0100 |
commit | 7e84b5570adeaa027f8c7861caf6af7943edcd0b (patch) | |
tree | ed861b2116ba354321829da3fcb2dc1f8ee93cee /src/lib | |
parent | ed7379d235b39d71e4cd94f90b52627c32c6d8e7 (diff) |
fix error handling for very large uploads, fix re-generation of /keys response after Expires expires
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/exchange_api_management_post_keys.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/exchange_api_management_post_keys.c b/src/lib/exchange_api_management_post_keys.c index e956cfd55..6b040bdaa 100644 --- a/src/lib/exchange_api_management_post_keys.c +++ b/src/lib/exchange_api_management_post_keys.c @@ -99,6 +99,10 @@ handle_post_keys_finished (void *cls, hr.ec = TALER_JSON_get_error_code (json); hr.hint = TALER_JSON_get_error_hint (json); break; + case MHD_HTTP_REQUEST_ENTITY_TOO_LARGE: + hr.ec = TALER_JSON_get_error_code (json); + hr.hint = TALER_JSON_get_error_hint (json); + break; default: /* unexpected response code */ GNUNET_break_op (0); |