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 missing error recovery in libhttpd/api.c #173

Merged
merged 1 commit into from Apr 1, 2015

Conversation

Projects
None yet
2 participants
@mhaas
Contributor

mhaas commented Apr 1, 2015

The select call sometimes may be interrupted or otherwise return
a value < 0. In this case, we do want to signal an error to the caller.

For subsequent calls, the error need to be reset or the caller (gateway.c)
will keep going into the error handler path even though the HTTP request
was handled succesfully.

Fix missing error recovery in libhttpd/api.c
The select call sometimes may be interrupted or otherwise return
a value < 0. In this case, we do want to signal an error to the caller.

For subsequent calls, the error need to be reset or the caller (gateway.c)
will keep going into the error handler path even though the HTTP request
was handled succesfully.

acv added a commit that referenced this pull request Apr 1, 2015

Merge pull request #173 from mhaas/reset-libhttpd-error
Fix missing error recovery in libhttpd/api.c

@acv acv merged commit 76efd52 into wifidog:master Apr 1, 2015

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment