libmicrohttpd

HTTP/1.x server C library (MHD 1.x, stable)
Log | Files | Refs | Submodules | README | LICENSE

commit 31dd55ae496a5582dd4c67f1231ee7e042f6b4e8
parent 95b73ede3db48f665b580fbd19bd7646a60efb2f
Author: Christian Grothoff <christian@grothoff.org>
Date:   Thu, 15 Feb 2018 05:45:55 +0100

more error codes

Diffstat:
Msrc/include/microhttpd2.h | 29++++++++++++++++++++++++++++-
1 file changed, 28 insertions(+), 1 deletion(-)

diff --git a/src/include/microhttpd2.h b/src/include/microhttpd2.h @@ -596,7 +596,34 @@ enum MHD_StatusCode * Encountered an unexpected error from select() * (should never happen). */ - MHD_SC_CONFIGURATION_UNEXPECTED_SELECT_ERROR = 50042, + MHD_SC_UNEXPECTED_SELECT_ERROR = 50042, + + /** + * poll() is not supported. + */ + MHD_SC_POLL_NOT_SUPPORTED = 50043, + + /** + * Encountered an unexpected error from poll() + * (should never happen). + */ + MHD_SC_UNEXPECTED_POLL_ERROR = 50044, + + /** + * We failed to allocate memory for poll() syscall. + */ + MHD_SC_POLL_MALLOC_FAILURE = 50045, + + /** + * Encountered an unexpected error from epoll_wait() + * (should never happen). + */ + MHD_SC_UNEXPECTED_EPOLL_WAIT_ERROR = 50046, + + /** + * epoll file descriptor is invalid (strange) + */ + MHD_SC_EPOLL_FD_INVALID = 50047, };