Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
isv:cpanel:dev:EA4
scl-php73
0008-Patch-epoll.c-per-bug-report-in-upstream.p...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0008-Patch-epoll.c-per-bug-report-in-upstream.patch of Package scl-php73
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Cory McIntire <cory@cpanel.net> Date: Fri, 2 Mar 2018 11:12:27 -0600 Subject: [PATCH 08/14] Patch epoll.c per bug report in upstream. Case HB-3061-70: Patch epoll.c per bug report in upstream. --- sapi/fpm/fpm/events/epoll.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/sapi/fpm/fpm/events/epoll.c b/sapi/fpm/fpm/events/epoll.c index e4a3300..86a416c 100644 --- a/sapi/fpm/fpm/events/epoll.c +++ b/sapi/fpm/fpm/events/epoll.c @@ -142,7 +142,12 @@ static int fpm_event_epoll_wait(struct fpm_event_queue_s *queue, unsigned long i } /* fire the event */ - fpm_event_fire((struct fpm_event_s *)epollfds[i].data.ptr); + /* XXX - JIRA EA-???? + Ignore EPOLLUP that is causing EBADF on unreadable FD's + https://bugs.php.net/bug.php?id=65398 + */ + if (epollfds[i].events != EPOLLHUP) + fpm_event_fire((struct fpm_event_s *)epollfds[i].data.ptr); /* sanity check */ if (fpm_globals.parent_pid != getpid()) {
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor