Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Gzip compressor reads and writes incorrect MTIME which is already in seconds #624

Merged
merged 1 commit into from
Dec 14, 2024

Conversation

ddeschenes-1
Copy link
Contributor

@ddeschenes-1 ddeschenes-1 commented Dec 14, 2024

Fix the gzip compressor inputstream and outputstream incorrect MTIME value which is already in seconds.
They should not divide or multiply by 1000.

@garydgregory
Copy link
Member

Hello @ddeschenes-1

Thank you for your PR.

  • The PR title is incorrect: This is NOT a documentation change
  • The PR description is empty.

Otherwise, looks good!

@ddeschenes-1
Copy link
Contributor Author

I thought the doc said that without a jira, the (doc) must be added in commit first line.
So, that's what I do.

@garydgregory
Copy link
Member

Hi @ddeschenes-1

Are there user-visible consequences to this fix?

@ddeschenes-1
Copy link
Contributor Author

The saved information in the gzip file is wrong. So, yes?

@garydgregory garydgregory merged commit 51c2e05 into apache:master Dec 14, 2024
19 checks passed
@ddeschenes-1
Copy link
Contributor Author

so, 1.28.0 this weekend? ;-)

@garydgregory garydgregory changed the title (doc) fix gzip compressor incorrect MTIME value which is already in seconds Gzip compressor reads and writes incorrect MTIME which is already in seconds Dec 14, 2024
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.

2 participants