Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Fixing OnDisconnect error handling and byte buffer resizing #165

Open
Per6 opened this issue Feb 6, 2025 · 0 comments
Open

Fixing OnDisconnect error handling and byte buffer resizing #165

Per6 opened this issue Feb 6, 2025 · 0 comments

Comments

@Per6
Copy link

Per6 commented Feb 6, 2025

when OnDisconnect has an error, then the server never removes the client, causing even more errors and problems.
also setting MaxPayloadSize to something bigger than initial just doesn't work.

i have fixed those in my latest commit in my fork, so just copy that over or something.
fixes

i also removed the copying of the whole array in tcp sending and restructured the recieve code for udp and tcp to be a bit better.

Edit: i just made a new commit since sending and recieving buffer can simply be the same thing.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant