Skip to content
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

Lwt_unix_io: Split large reads #282

Merged
merged 1 commit into from Mar 22, 2015
Merged

Lwt_unix_io: Split large reads #282

merged 1 commit into from Mar 22, 2015

Conversation

j0sh
Copy link
Contributor

@j0sh j0sh commented Mar 22, 2015

With the Lwt backend, reads hang if trying to fetch more than
Sys.max_string_length due to a byte allocation failure in
Lwt_io.read. Problematic for large uploads, etc.

Upper layer callers (eg, Transfer_io) seem to handle recombining
these split reads without any issues.

With the Lwt backend, reads hang if trying to fetch more than
Sys.max_string_length due to a byte allocation failure in
Lwt_io.read. Problematic for large uploads, etc.

Upper layer callers (eg, Transfer_io) seem to handle recombining
these split reads without any issues.
@j0sh j0sh changed the title transfer_io: Split large fixed reads. Lwt_unix_io: Split large reads Mar 22, 2015
@avsm
Copy link
Member

avsm commented Mar 22, 2015

Looks good to me, thanks! Will merge shortly

@avsm avsm merged commit bbf5df7 into mirage:master Mar 22, 2015
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.

None yet

2 participants