Skip to content

Set writer modification time to now by default#8281

Merged
headius merged 1 commit intojruby:masterfrom
headius:fix_gzipwriter_default_mtime
Jun 4, 2024
Merged

Set writer modification time to now by default#8281
headius merged 1 commit intojruby:masterfrom
headius:fix_gzipwriter_default_mtime

Conversation

@headius
Copy link
Member

@headius headius commented Jun 4, 2024

CRuby does this lazily on first write, when it sets up the headers, but that laziness is handled inside jzlib for us. Just set it and if it is updated by user it will be updated in the writer.

Fixes #7879, which led to tests being skipped in
rack/rack#2182.

CRuby does this lazily on first write, when it sets up the
headers, but that laziness is handled inside jzlib for us. Just
set it and if it is updated by user it will be updated in the
writer.

Fixes jruby#7879, which led to tests being skipped in
rack/rack#2182.
@headius headius force-pushed the fix_gzipwriter_default_mtime branch from fd4035e to 51e2951 Compare June 4, 2024 04:44
@headius headius merged commit 00dd3ed into jruby:master Jun 4, 2024
@headius headius deleted the fix_gzipwriter_default_mtime branch June 4, 2024 04:58
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.

New failures in Rack tests relating to deflater

1 participant