Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

MirrorMod hangs when receiving defective ZIP-Stream #12

Closed
oli-h opened this issue Dec 4, 2018 · 1 comment
Closed

MirrorMod hangs when receiving defective ZIP-Stream #12

oli-h opened this issue Dec 4, 2018 · 1 comment

Comments

@oli-h
Copy link

oli-h commented Dec 4, 2018

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:

@mcweba
Copy link
Collaborator

mcweba commented Dec 7, 2018

fixed in release v2.1.15

@mcweba mcweba closed this as completed Dec 7, 2018
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants