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

Allow passing size as option #33

Merged
merged 3 commits into from
Feb 25, 2023

Conversation

4c0n
Copy link
Contributor

@4c0n 4c0n commented Nov 28, 2022

I've noticed that it's not always possible for the openstack package to determine the stream size for example when using php://input, it allows passing it however which allows us to get the size from the content-length header.

These changes allow passing along the stream size manually, so that the createLargeObject() method will be called for larger files.

@4c0n
Copy link
Contributor Author

4c0n commented Jan 16, 2023

@chrisnharvey @mzur Could you perhaps have a look at this please? Thank you 😄

Copy link
Collaborator

@mzur mzur left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry for the long wait. Looks good, thanks!

@mzur mzur merged commit 195fa0f into chrisnharvey:master Feb 25, 2023
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