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

Infinite loop "for (;;)" on line 130 #4

Open
lauler1 opened this issue Oct 12, 2023 · 1 comment
Open

Infinite loop "for (;;)" on line 130 #4

lauler1 opened this issue Oct 12, 2023 · 1 comment

Comments

@lauler1
Copy link

lauler1 commented Oct 12, 2023

The infinite loop "for (;;)" on line 130 is making the server never receive other clients while the first client is connected.
Is this intentional or a loop?

Could be avoided by removing it.

@onestraw
Copy link
Owner

epoll_wait will handle establish/data event and surely receive multiple clients simultaneously

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