-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
fix using FSEEK_END with SeekableHttpStream to get file size #33718
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
Seems like some tests fail? |
66a5067
to
a5ad9a1
Compare
Improved the typings around |
You need to run |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Apart from codesniffer and psalm fixes this now looks good.
a5ad9a1
to
841e361
Compare
841e361
to
b65b837
Compare
object store azure fails with:
|
b65b837
to
255bcd0
Compare
Disabled the test in azure for now and will look into fixing azure seek support in a separate PR |
Signed-off-by: Robin Appelman <robin@icewind.nl>
255bcd0
to
d8961ed
Compare
Delays the reconnect on
fseek
to allowfseek(0, FSEEK_END)
to return successfully.This is used by some libraries to get the filesize from stream.
Adds tests to ensure that this method can be used for all storage backends.