axe attempt to close a previously-closed apr socket
(clang scan-build says "uninitialized", but it doesn't know
how apr_sockaddr_info_get() reports errors)
Submitted by: trawick
Reviewed/backported by: jim
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@
1560084 13f79535-47bb-0310-9956-
ffa450edef68
PATCHES ACCEPTED TO BACKPORT FROM TRUNK:
[ start all new proposals below, under PATCHES PROPOSED. ]
- * ssl_util_ocsp scan-build warning in old code
- (the code is clearly wrong but completely harmless AFAICT)
- trunk patch: https://svn.apache.org/r1534890
- 2.4.x patch: trunk patch works
- +1: trawick, covener, jim
PATCHES PROPOSED TO BACKPORT FROM TRUNK:
ap_log_cerror(APLOG_MARK, APLOG_ERR, rv, c, APLOGNO(01974)
"could not connect to OCSP responder '%s'",
uri->hostinfo);
- apr_socket_close(sd);
return NULL;
}