Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
"$this->request_chunk(256 * 1024);" at the end of "stream_open()" fetches a chunk of file contents. But when "stream_close()" is called without calling "stream_read()", it tries to read status code from "request_chunk()". Which lead to stream_close() to return false. After this, regular files are displayed as folders. Previews are not generated. Instead of fetching chunk in "stream_open()", make the "stream_read()" call both "request_chunk()" and "read_chunk()" it it. Issue #25788 Signed-off-by: Rae Kim <rae.kim@raekim.me>
- Loading branch information