Use single log instance in HostnameVerifier

Description

Use a single log instance in HostnameVerifier to avoid death locks in apache.commons.logging.LogFactory

we see the death lock here:

at java.util.Hashtable.get(Hashtable.java:363)
at org.apache.commons.logging.impl.WeakHashtable.get(WeakHashtable.java:180)
at org.apache.commons.logging.LogFactory.getCachedFactory(LogFactory.java:979)
at org.apache.commons.logging.LogFactory.getFactory(LogFactory.java:435)
at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:685)
at lucee.runtime.net.http.sni.AbsDefaultHostnameVerifier.<init>(AbsDefaultHostnameVerifier.java:36)
at lucee.runtime.net.http.sni.AbsDefaultHostnameVerifier.<init>(AbsDefaultHostnameVerifier.java:45)
at lucee.runtime.net.http.sni.DefaultHostnameVerifierImpl.<init>(DefaultHostnameVerifierImpl.java:8)
at lucee.runtime.tag.Http.ssl(Http.java:1421)
at lucee.runtime.tag.Http._doEndTag(Http.java:706)

Environment

None

Assignee

Unassigned

Reporter

Michael Offner

Priority

Minor

Labels

None

Fix versions

Sprint

None
Configure