/
/
/
486
dnr: Don't CloseResolver() after every DNS lookup
OpenResolver() already checks for an established handle
jcs made amendment
486
about 1 year ago
---
dnr.c Wed Mar 8 10:07:56 2023
+++
dnr.c Wed Apr 19 09:12:18 2023
@@ -337,6 +337,7 @@ DNSResolveName(char **name, unsigned long *ipAddress,
} else
osErr = aHostInfo.rtnCode;
- CloseResolver();
+ /* leave resolver open for faster lookups in the future */
+
return osErr;
}