mirror of
https://github.com/HoneyryderChuck/httpx.git
synced 2025-12-04 00:01:13 -05:00
log ip family for logged dns answer
This commit is contained in:
parent
efaa0e8066
commit
d7431e76a2
@ -54,7 +54,7 @@ module HTTPX
|
||||
# double emission check
|
||||
return if connection.addresses && !addresses.intersect?(connection.addresses)
|
||||
|
||||
log { "resolver: answer #{connection.origin.host}: #{addresses.inspect}" }
|
||||
log { "resolver: answer #{FAMILY_TYPES[RECORD_TYPES[family]]} #{connection.origin.host}: #{addresses.inspect}" }
|
||||
if @pool && # if triggered by early resolve, pool may not be here yet
|
||||
!connection.io &&
|
||||
connection.options.ip_families.size > 1 &&
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user