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

Allow to send files #15

Open
jordeu opened this issue Nov 2, 2021 · 0 comments
Open

Allow to send files #15

jordeu opened this issue Nov 2, 2021 · 0 comments
Milestone

Comments

@jordeu
Copy link
Member

jordeu commented Nov 2, 2021

Current implementation when Tower request a file from the Agent a cat <filename> it is executed and the response is returned as a result. This works for small files, but for big files or binary files it may be problematic.

The goal of this issue is to implement a new type of request where Tower requests a specific file and the Agent reads it and sends it back to Tower. It has to support the streaming of big files and binary files of any format.

NOTE: Given the current limit of 5MB per websocket message, this will require a paging mechanism to send big files using several messages.

@jordeu jordeu modified the milestone: v0.5 Dec 13, 2021
@jordeu jordeu added this to the v0.5 milestone Jan 17, 2022
@jordeu jordeu modified the milestones: v0.5, v0.6 Jul 27, 2022
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

No branches or pull requests

1 participant