Skip to content

Conversation

@icewind1991
Copy link
Member

When the SeekableHttpStream's openCallback returns a stream wrapper, the stream_get_meta_data call returns the wrapper, not the http headers we're looking for.

This changes it to try and get the source of the stream so we can get the http headers.

Additionally I'll look if it's possible to make the wrappers transparent for stream_get_meta_data

Signed-off-by: Robin Appelman <robin@icewind.nl>
@icewind1991 icewind1991 added the 3. to review Waiting for reviews label Jun 8, 2022
@icewind1991 icewind1991 added this to the Nextcloud 25 milestone Jun 8, 2022
@icewind1991 icewind1991 requested review from a team, CarlSchwan, PVince81, blizzz and juliusknorr and removed request for a team June 8, 2022 15:58
@icewind1991
Copy link
Member Author

/backport to stable24

@icewind1991
Copy link
Member Author

/backport to stable23

Copy link
Member

@PVince81 PVince81 left a comment

Choose a reason for hiding this comment

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

👍

@icewind1991
Copy link
Member Author

/backport to stable22

@icewind1991
Copy link
Member Author

/backport to stable21

@icewind1991
Copy link
Member Author

/backport to stable20

@juliusknorr juliusknorr merged commit 42f9215 into master Jun 9, 2022
@juliusknorr juliusknorr deleted the seeakble-http-stream-wrappers branch June 9, 2022 07:49
@backportbot-nextcloud
Copy link

The backport to stable22 failed. Please do this backport manually.

@backportbot-nextcloud
Copy link

The backport to stable21 failed. Please do this backport manually.

@backportbot-nextcloud
Copy link

The backport to stable20 failed. Please do this backport manually.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants