Closed mustafacco7 closed 1 month ago
Fixes #1152
Enforce the lifetime parameter strictly in DNS resolver queries.
dns/asyncresolver.py
dns.asyncresolver.Resolver
_compute_timeout
dns/resolver.py
dns.resolver.Resolver
tests/test_doq.py
For more details, open the Copilot Workspace session.
This doesn't fix anything.
Fixes #1152
Enforce the lifetime parameter strictly in DNS resolver queries.
dns/asyncresolver.py
to enforce the lifetime parameter in thedns.asyncresolver.Resolver
class._compute_timeout
method indns/asyncresolver.py
to ensure accurate timeout calculations.dns/resolver.py
to enforce the lifetime parameter in thedns.resolver.Resolver
class._compute_timeout
method indns/resolver.py
to ensure accurate timeout calculations.tests/test_doq.py
to verify the correct enforcement of the lifetime parameter.For more details, open the Copilot Workspace session.