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

OnDisconneting after send data #268

Open
carolfelix opened this issue Aug 24, 2023 · 1 comment
Open

OnDisconneting after send data #268

carolfelix opened this issue Aug 24, 2023 · 1 comment

Comments

@carolfelix
Copy link

When I receive the request, I process and return, but when sending data to the client, OnDisconnecting is called and resets the connection, I don't know why this happens, because in my code I don't call it. The message size is small. This behavior only occurs on some clients. Can someone help me?

@alandemaria
Copy link

Are you using TcpServer? If there is an error when sending, the library will disconnect:

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

2 participants