View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0003751 | libmicrohttpd | internal event loop | public | 2015-04-02 19:44 | 2021-09-02 17:54 |
Reporter | matt.holiday | Assigned To | Christian Grothoff | ||
Priority | normal | Severity | minor | Reproducibility | random |
Status | closed | Resolution | fixed | ||
OS | Linux | ||||
Product Version | 0.9.39 | ||||
Target Version | 0.9.40 | Fixed in Version | 0.9.40 | ||
Summary | 0003751: check against FD_SETSIZE for control pipes ignores MHD_USE_EPOLL_LINUX_ONLY | ||||
Description | In a couple places, checks against FD_SETSIZE are ignored if MHD_USE_POLL is set but don't take into account MHD_USE_EPOLL_LINUX_ONLY | ||||
Steps To Reproduce | Startup with too many sockets in use in the same process; found in 0.9.32 but the code hasn't changed since then | ||||
Additional Information | Should be a trivial fix In src/libmicrohttpd/daemon.c, look for the error string "file descriptor for worker control pipe exceeds maximum value" 3460c3460 < if ( (0 == (flags & MHD_USE_POLL)) && --- > if ( (0 == (flags & (MHD_USE_POLL | MHD_USE_EPOLL_LINUX_ONLY))) && 3992c3992 < if ( (0 == (flags & MHD_USE_POLL)) && --- > if ( (0 == (flags & (MHD_USE_POLL | MHD_USE_EPOLL_LINUX_ONLY))) && | ||||
Tags | No tags attached. | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
2015-04-02 19:44 | matt.holiday | New Issue | |
2015-04-03 12:24 | Christian Grothoff | Assigned To | => Christian Grothoff |
2015-04-03 12:24 | Christian Grothoff | Status | new => assigned |
2015-04-03 12:29 | Christian Grothoff | Note Added: 0009063 | |
2015-04-03 12:29 | Christian Grothoff | Status | assigned => resolved |
2015-04-03 12:29 | Christian Grothoff | Fixed in Version | => 0.9.40 |
2015-04-03 12:29 | Christian Grothoff | Resolution | open => fixed |
2015-04-03 12:29 | Christian Grothoff | Target Version | => 0.9.40 |
2015-04-07 00:43 | Christian Grothoff | Status | resolved => closed |
2021-09-02 17:54 | Christian Grothoff | Changeset attached | => libmicrohttpd master 570042a1 |
2021-09-02 17:54 | Christian Grothoff | Note Added: 0018200 | |
2024-01-21 13:24 | Christian Grothoff | Category | libmicrohttpd internal select => internal event loop |