Skip to content

Update jzlib and fix mtime#7814

Merged
headius merged 3 commits intojruby:masterfrom
headius:update_jzlib
May 25, 2023
Merged

Update jzlib and fix mtime#7814
headius merged 3 commits intojruby:masterfrom
headius:update_jzlib

Conversation

@headius
Copy link
Member

@headius headius commented May 25, 2023

This fixes the bogus mtime on gzip readers by switching to the JRuby version of jzlib and populating mtime after the header has parsed.

This fixes #7746 and rack/rack#2027.

headius added 2 commits May 25, 2023 09:29
This avoids the old time object's nsec or other fields leaking
into the updated time.
This switches jzlib to the version maintained by the JRuby team,
version 1.1.4 with fixes for mtime and concatenated gzip streams.

Fixes jruby#7746 and rack/rack#2027
@headius headius added this to the JRuby 9.4.3.0 milestone May 25, 2023
The concatenated gzip stream work in jruby/jzlib#1 broke some
tests. We'll revisit it later.
@headius headius merged commit cf7f0dc into jruby:master May 25, 2023
@headius headius deleted the update_jzlib branch May 25, 2023 19:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Flaky test running rack on JRuby

1 participant