https://bz.apache.org/bugzilla/show_bug.cgi?id=59985
Bug ID: 59985
Summary: Add log message when apr_pollset_remove fails
Product: Apache httpd-2
Version: 2.5-HEAD
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P2
Component: All
Assignee: [email protected]
Reporter: [email protected]
Created attachment 34131
--> https://bz.apache.org/bugzilla/attachment.cgi?id=34131&action=edit
Add log message when apr_pollset_remove fails
Function apr_pollset_remove may fail. The majority of calls have checked the
return value and printed log message like the following code snippet, while the
others have not. Those unchecked ones probably need logs too (see attachment).
/* httpd-2.4.10/server/mpm/event/event.c:1403:14 */
rv = apr_pollset_remove(event_pollset, &cs->pfd);
if (rv != APR_SUCCESS && !APR_STATUS_IS_NOTFOUND(rv)) {
ap_log_cerror(APLOG_MARK, APLOG_ERR, rv, cs->c, APLOGNO(00473)
"apr_pollset_remove failed");
}
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]