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

server will crash when a new client connects after one client disconnected #10

Open
zhaowe opened this issue Dec 19, 2019 · 4 comments
Open

Comments

@zhaowe
Copy link

zhaowe commented Dec 19, 2019

The reasion is no cleaning to Message member in the Task function. Since Message is a duplicate of newsockfd, remove the Message member will solve the problem

@eric0593
Copy link

I have found the issue too.

@eric0593
Copy link

https://github.com/eric0593/SimpleNetwork.git
I update this crash for demo using

@kashimAstro
Copy link
Owner

Hi guys, sorry for delay..

but now i'm on a business trip
as soon as I go back to Italy I check this problem!

if anyone wants to push a pull request i gladly accept.

Best wishes!

@flyaudio
Copy link

https://github.com/eric0593/SimpleNetwork.git
I update this crash for demo using

I don't think it's solved in this way

@wwd2018 wwd2018 mentioned this issue Nov 3, 2021
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

4 participants