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

client: prevent too large RMs #91

Merged
merged 1 commit into from Jan 19, 2023

Conversation

miki-totefu
Copy link
Collaborator

This prevents RMs that will be too large to send to the server from
entering the RMQ, either the RemoteUser.sendRM or the client sendq
call sites.

The file content subsystem already chunks files appropriately, so that
higher level operation already takes into account the max message size.
Other operations may need additional checks added, to prevent the RM
being created in the first place.

fix #77

This prevents RMs that will be too large to send to the server from
entering the RMQ, either the RemoteUser.sendRM or the client sendq
call sites.

The file content subsystem already chunks files appropriately, so that
higher level operation already takes into account the max message size.
Other operations may need additional checks added, to prevent the RM
being created in the first place.

fix companyzero#77
@miki-totefu miki-totefu marked this pull request as ready for review January 12, 2023 20:37
@miki-totefu miki-totefu merged commit 3e9c629 into companyzero:master Jan 19, 2023
@miki-totefu miki-totefu deleted the maxrmsize branch February 27, 2023 18:14
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.

Large File transfer in queue is causing server disconnect / connect loop
2 participants