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

fix process crash on put file command #547

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

nvedenyuk
Copy link

put command uses getDigestAndSizeForFile() to generate hash for a file - this function read all file contents to buffer
and only after passed for hash generation. Issue is more critical if disable AUTO_COMPRESS and try to upload file. Current change uses stream instead to prevent crashes on a bigger files

@nvedenyuk nvedenyuk requested a review from a team as a code owner June 22, 2023 13:58
@github-actions
Copy link

github-actions bot commented Jun 22, 2023

CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅

@nvedenyuk
Copy link
Author

I have read the CLA Document and I hereby sign the CLA

@sfc-gh-dszmolka
Copy link
Collaborator

hi and thank you for your contribution! if this is still relevant with the latest driver version of 1.9.0, can you please link the corresponding Github issue which the PR is aiming to solve ? A repro is more than welcome too :) Thank you !

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