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

[stable8.2] Use Guzzle stream to download files from GDrive #21825

Closed
wants to merge 1 commit into from

Conversation

PVince81
Copy link
Contributor

Backport of #21732 to stable8.2

@davitol can you help testing this ? The only affected part is downloads, they should be faster.
See #21732 (comment)

Might be a good idea to also test with encryption enabled and with shares.

The API library does not support streaming and always reads the full
file into memory.

This workaround copies the signed headers to a Guzzle request and
returns the response as stream.
@PVince81 PVince81 added this to the 8.2.3-current-maintenance milestone Jan 21, 2016
@mention-bot
Copy link

By analyzing the blame information on this pull request, we identified @Xenopathic, @MTGap and @icewind1991 to be potential reviewers

@LukasReschke
Copy link
Member

👎 - breaks with encryption enabled

@PVince81
Copy link
Contributor Author

This used to cause issues with encryption due to packet size problems (fread doesn't return the expected number of bytes by design, a PHP thing with streams), see #22590

To be on the safe side, let's close this backport.

@PVince81 PVince81 closed this Feb 25, 2016
@PVince81 PVince81 deleted the stable8.2-gdrive-stream-download branch February 25, 2016 09:04
@lock
Copy link

lock bot commented Aug 7, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Aug 7, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants