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

Send print files in chunks #7

Open
tjhorner opened this issue Sep 6, 2017 · 0 comments
Open

Send print files in chunks #7

tjhorner opened this issue Sep 6, 2017 · 0 comments
Assignees

Comments

@tjhorner
Copy link
Owner

tjhorner commented Sep 6, 2017

Right now, literally the entire file is sent all at once when you print a file. This isn't ideal, since if you, for example, request a JSON-RPC method while it's sending, it will corrupt the file. We should split the file into chunks and send multiple put_raw requests to prevent corruption.

Additionally, it might also be a good idea to prevent requests from sending while the file is sending (could queue them up, I guess).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant