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

Fix/content streaming #80

Merged
merged 6 commits into from
Apr 20, 2015
Merged

Fix/content streaming #80

merged 6 commits into from
Apr 20, 2015

Conversation

n0phx
Copy link
Contributor

@n0phx n0phx commented Apr 20, 2015

No description provided.

Branko Vukelic added 6 commits April 17, 2015 13:58
Loading up file contents into StringIO causes memory starvation and kernel
kills the process off. Therefore we are reverting to using plain file handles.
In addition to AttributeError, we also encounter cases where
UnsupportedOperation exception is raised when seek() method is called on a file
description (this is common with zipfile objects). This is now properly
handled.

We also needed to handle the case where offset was large enough to cause
trouble for Librarian, and are now reading to offset in 1024 byte chunks.
This module is now part of bottle-fdsend package and no longer needed
n0phx added a commit that referenced this pull request Apr 20, 2015
@n0phx n0phx merged commit e9b50ae into develop Apr 20, 2015
@n0phx n0phx deleted the fix/content-streaming branch April 21, 2015 14:52
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