Skip to content

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

Closed
PVince81 wants to merge 1 commit into
stable8.2from
stable8.2-gdrive-stream-download
Closed

PVince81 wants to merge 1 commit into
stable8.2from
stable8.2-gdrive-stream-download

Conversation

@PVince81

Copy link
Copy Markdown
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
Copy Markdown

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

@LukasReschke

Copy link
Copy Markdown
Contributor

👎 - breaks with encryption enabled

@PVince81

Copy link
Copy Markdown
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

lock Bot commented Aug 7, 2019

Copy link
Copy Markdown

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