add klog entry for testing

This commit is contained in:
Daniel Steininger 2024-09-03 14:07:04 +02:00 committed by GitHub
parent c9743ae585
commit 61b0d24048
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -75,6 +75,10 @@ func (p *TCPProxy) Handle(conn net.Conn) {
proxy = p.Get(hostname) proxy = p.Get(hostname)
} }
if err != nil {
klog.V(4).InfoS("GetHostname cause an", "error", err)
}
if proxy == nil { if proxy == nil {
klog.V(4).InfoS("There is no configured proxy for SSL connections.") klog.V(4).InfoS("There is no configured proxy for SSL connections.")
return return