Fix #1532 - improve ipv6 DNS lookup

This commit is contained in:
Sergey Lyubka committed 2022-04-22 20:44:53 +01:00
1 parent 93ff3e4d1f
commit a7cbc19755
4 files changed
+10 -4

No files matched your search

+1
View File
@@ -23,6 +23,7 @@ struct mg_mgr {
struct mg_dns dns4; // DNS for IPv4
struct mg_dns dns6; // DNS for IPv6
int dnstimeout; // DNS resolve timeout in milliseconds
bool use_dns6; // Use DNS6 server by default, see #1532
unsigned long nextid; // Next connection ID
void *userdata; // Arbitrary user data pointer
uint16_t mqtt_id; // MQTT IDs for pub/sub