You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Additionally a further bunch of findings after code review:
MirrorRequest is answered "200 OK" even if one or more PUTs of ZIP-Entries fail. Although the JSON-Response of the MirrorRequest then lists those resources with success: false, this behaviour is surprising as the caller might assume that the whole *GET the zip, extract all entries and PUT all of them" was successful
MIrrorMod's ZipFileEntryIterator hides an IOException behind a RuntimeException:
https://github.com/swisspush/vertx-rest-mirror/blob/72e967b70c3261922d826139e30c2026b3cf770a/src/main/java/org/swisspush/mirror/ZipFileEntryIterator.java#L74-L76
In case of defective ZIP-Streams this leads to uncatched Exceptions in a Handler and then to a not-ended HttpServerResponse:
Additionally a further bunch of findings after code review:
success: false
, this behaviour is surprising as the caller might assume that the whole *GET the zip, extract all entries and PUT all of them" was successfulThe text was updated successfully, but these errors were encountered: