Protect dns-lookup-ip with a fatal error handler.
This commit is contained in:
parent
5a20cc1e0a
commit
8b6d244f0e
|
@ -164,6 +164,10 @@
|
|||
|
||||
(define (maybe-dns-lookup remote-ip)
|
||||
(if (logging-dns-lookup?)
|
||||
(or (dns-lookup-ip remote-ip)
|
||||
(or (with-fatal-error-handler*
|
||||
(lambda (condition decline)
|
||||
remote-ip)
|
||||
(lambda ()
|
||||
(dns-lookup-ip remote-ip)))
|
||||
remote-ip)
|
||||
remote-ip))
|
Loading…
Reference in New Issue