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

Correct size for gz file #777

Merged
merged 2 commits into from
Jun 23, 2020
Merged

Conversation

slimus
Copy link
Collaborator

@slimus slimus commented Jun 22, 2020

Fix #775

When we are using .gz for output we are counting incorrect file size. Now it should be ok

@buger
Copy link
Owner

buger commented Jun 22, 2020

You need to add payload separator bytes too, in gzip it be a different value.
Also pls link the github ticket in the PR description.

@slimus
Copy link
Collaborator Author

slimus commented Jun 23, 2020

@buger fixed

@buger buger merged commit ea822d8 into buger:master Jun 23, 2020
@slimus slimus deleted the 775-fix-outpu-file-gz-size-check branch June 26, 2020 11:16
xingren23 referenced this pull request in xingren23/goreplay Sep 4, 2021
Fix #775 

When we are using .gz for output we are counting incorrect file size. Now it should be ok
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.

--output-file-max-size-limit with compressed .gz file
2 participants