mirror of
https://github.com/cuberite/libevent.git
synced 2025-09-13 22:37:42 -04:00
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:
parent
a63db431a2
commit
bb1dd9e750
@ -1,5 +1,6 @@
|
|||||||
Changes in 1.4.4-stable:
|
Changes in 1.4.4-stable:
|
||||||
o Correct the documentation on buffer printf functions.
|
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:
|
Changes in 1.4.3-stable:
|
||||||
o include Content-Length in reply for HTTP/1.0 requests with keep-alive
|
o include Content-Length in reply for HTTP/1.0 requests with keep-alive
|
||||||
|
1
epoll.c
1
epoll.c
@ -120,6 +120,7 @@ epoll_init(struct event_base *base)
|
|||||||
/* Initalize the kernel queue */
|
/* Initalize the kernel queue */
|
||||||
|
|
||||||
if ((epfd = epoll_create(nfiles)) == -1) {
|
if ((epfd = epoll_create(nfiles)) == -1) {
|
||||||
|
if (errno != ENOSYS)
|
||||||
event_warn("epoll_create");
|
event_warn("epoll_create");
|
||||||
return (NULL);
|
return (NULL);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user