Skip to content

ZipStream generation aborted, HTTP-200, shared hosting #359

Closed Answered by fwiep
fwiep asked this question in Q&A
Discussion options

You must be logged in to vote

Found it!

When I either set $defaultCompressionMethod to ::STORE or (keep it ::DEFLATE and set $defaultDeflateLevel to 0), the zip successfully streams in its entirety.

Both the dummy-script and my ArchiveExport script now work as expected. For me, the issue is solved.

But I remain curious as to why on this particular shared hosting, deflate-ing with level -1 or 1-9 lets the script terminate without any sign of trouble. Oh well...

Thanks for your wonderful work, reading and thinking along in solving this!
FWieP

Replies: 7 comments 12 replies

Comment options

You must be logged in to vote
5 replies
@fwiep
Comment options

@maennchen
Comment options

@fwiep
Comment options

@maennchen
Comment options

@fwiep
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@maennchen
Comment options

Answer selected by fwiep
Comment options

You must be logged in to vote
5 replies
@maennchen
Comment options

@fwiep
Comment options

@maennchen
Comment options

@fwiep
Comment options

@maennchen
Comment options

Comment options

You must be logged in to vote
1 reply
@NicolasCARPi
Comment options

NicolasCARPi May 27, 2025
Collaborator Sponsor

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants