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

Update protocol.c #240

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

strong46066999
Copy link

select will crash when sock is over 1023

select will crash when sock is over 1023
int nfds;
fd_set readfds;
int ret;
struct pollfd readfds[1];
struct timeval timeout;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You forgot to remove this :)

@mhaas mhaas mentioned this pull request Jan 30, 2016
@mhaas mhaas self-assigned this Jan 30, 2016
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.

2 participants