Skip to content

Fix read_file rejecting large files despite offset/limit - #1

Open
JVMerkle wants to merge 1 commit into
r3dlight:mainfrom
JVMerkle:bugfix/read-file-rejecting-large-files
Open

JVMerkle wants to merge 1 commit into
r3dlight:mainfrom
JVMerkle:bugfix/read-file-rejecting-large-files

Conversation

@JVMerkle

@JVMerkle JVMerkle commented Nov 6, 2026

Copy link
Copy Markdown

The size check ran before the offset/limit window was applied, so any file over 256 KB failed even for a small window. Stream the lines and keep only the requested window; raise the scan cap to 32 MiB.

The size check ran before the offset/limit window was applied, so any
file over 256 KB failed even for a small window. Stream the lines and
keep only the requested window; raise the scan cap to 32 MiB.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant