how many IP addresses

This commit is contained in:
Adrien PONSIN 2025-04-15 20:14:19 +02:00
parent ade249eefc
commit f222a603a9
No known key found for this signature in database
GPG Key ID: 7B4D4A32C05C475E

View File

@ -171,6 +171,7 @@ func (ph *ProxyHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) {
log.Err(err).Send()
return
}
fmt.Printf("count of resolved IPs: %d\n", len(resolvedIPs))
for _, resolvedIP := range resolvedIPs {
if resolvedIP.Equal(ip) {
if err = checkMethodPath(w, r, mr); err != nil {