-actually, incrementing on every error seems fine

This commit is contained in:
Christian Grothoff 2022-07-05 13:01:17 +02:00
parent 7201ce3166
commit a01c1acc3c
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC

View File

@ -221,7 +221,6 @@ handle_wire_finished (void *cls,
{ {
case 0: case 0:
hr.ec = TALER_EC_GENERIC_INVALID_RESPONSE; hr.ec = TALER_EC_GENERIC_INVALID_RESPONSE;
/* FIXME: Maybe we should only increment when we know it's a timeout? */
wh->exchange->wire_error_count++; wh->exchange->wire_error_count++;
break; break;
case MHD_HTTP_OK: case MHD_HTTP_OK: