r19306@catbus: nickm | 2008-04-10 15:34:27 -0400

Backport fix for bug 1938754: do not warn when epoll_create() fails with ENOSYS.


svn:r707
This commit is contained in:
Nick Mathewson 2008-04-10 19:35:57 +00:00
parent a63db431a2
commit bb1dd9e750
2 changed files with 3 additions and 1 deletions

View File

@ -1,5 +1,6 @@
Changes in 1.4.4-stable:
o Correct the documentation on buffer printf functions.
o Don't warn on unimplemented epoll_create(): this isn't a problem, just a reason to fall back to poll or select.
Changes in 1.4.3-stable:
o include Content-Length in reply for HTTP/1.0 requests with keep-alive

View File

@ -120,6 +120,7 @@ epoll_init(struct event_base *base)
/* Initalize the kernel queue */
if ((epfd = epoll_create(nfiles)) == -1) {
if (errno != ENOSYS)
event_warn("epoll_create");
return (NULL);
}