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

Add proper support for multipacket responses #25

Merged
merged 2 commits into from
Nov 25, 2023

Conversation

Taraman17
Copy link
Contributor

This PR incorporates the suggested hack from
https://developer.valvesoftware.com/wiki/Talk:Source_RCON_Protocol#How_to_receive_split_response?

In my local tests it worked well. Pls check.

This adds a static ID for empty packets, that are sent to find the end of a multipacket response
@Taraman17
Copy link
Contributor Author

As of now, the term packet is sent as long, as long packets arrive - you could add a variable to track if it was sent and with that prevent the multiple packets.

@JannesV
Copy link

JannesV commented Nov 24, 2023

Why is this still open tho? This fix seems to work perfectly!

@EnriqCG
Copy link
Owner

EnriqCG commented Nov 24, 2023

Why is this still open tho? This fix seems to work perfectly!

Thanks for the bump. For some reason I missed this PR. I will do some testing with some systems that are currently running this library.

Thank you @Taraman17 for the contribution.

@EnriqCG EnriqCG merged commit 38e51aa into EnriqCG:master Nov 25, 2023
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.

4 participants