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

Cannot stream from one share into another #8

Closed
judgej opened this issue Nov 25, 2019 · 1 comment
Closed

Cannot stream from one share into another #8

judgej opened this issue Nov 25, 2019 · 1 comment
Assignees

Comments

@judgej
Copy link
Member

judgej commented Nov 25, 2019

I'm sure this used to work, but now throws "missing header" exceptions at the HTTP level communicating with Azure. That threw me quite a lot.

It appears that the read stream the API provides no longer can be stated, i.e. details about its length is not available. When writing a stream to the API, it expects to know the content length from the start. The MS library was assuming the length was available just because a resource was provided, when in fact the length was unknown - null. This caused the request to the stream writing to the API to be corrupted - it had a null length. And that was throwing up all sorts of obscure errors.

@judgej judgej self-assigned this Nov 25, 2019
@judgej judgej transferred this issue from academe/laravel-azure-file-storage-driver Nov 25, 2019
@judgej
Copy link
Member Author

judgej commented Nov 25, 2019

Duplicate of #6

@judgej judgej marked this as a duplicate of #6 Nov 25, 2019
@judgej judgej closed this as completed Nov 25, 2019
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

No branches or pull requests

1 participant