#1428 No DNS resolver reuse in net.connect

Reporter Zash
Owner Nobody
Created
Updated
Stars ★ (1)
Tags
  • Priority-Medium
  • Status-Accepted
  • Milestone-0.12
  • Type-Defect
  1. Zash on

    mod_s2s switched to net.connect for outgoing connections in https://hg.prosody.im/trunk/rev/756b8821007a Previously, s2sout.lib would maintain one instance of a DNS resolver per connection attempt. With net.connect, net.resolver.service creates one DNS resolver instance, then for each SRV target another DNS resolver is created by net.resolvers.basic.

New comment

Not published. Used for spam prevention and optional update notifications.