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

fix FD_ISSET bool issue #76

Merged
merged 1 commit into from
Feb 15, 2019
Merged

Conversation

fab0301
Copy link
Contributor

@fab0301 fab0301 commented Feb 15, 2019

I wasn't able to connect to the HTTP server. After digging in the code, I found that bool bRead/bWrite = FD_ISSET(...) was not set correctly (within httpd.c). Even though FD_ISSET returned a value > 0, bRead was set to false. By defining FD_ISSET_BOOL returning a shifted FD_ISSET, bRead/bWrite is set correctly.

@stanleyhuangyc stanleyhuangyc merged commit b579f8d into stanleyhuangyc:master Feb 15, 2019
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.

None yet

2 participants