{"schema":"libjg2-1",
"vpath":"/git/",
"avatar":"/git/avatar/",
"alang":"",
"gen_ut":1753168019,
"reponame":"libwebsockets",
"desc":"libwebsockets lightweight C networking library",
"owner": { "name": "Andy Green", "email": "andy@warmcat.com", "md5": "c50933ca2aa61e0fe2c43d46bb6b59cb" },"url":"https://libwebsockets.org/repo/libwebsockets",
"f":3,
"items": [
{"schema":"libjg2-1",
"cid":"766419b552947ee9bb04f75b33cfc3ec",
"commit": {"type":"commit",
"time": 1650779330,
"time_ofs": 60,
"oid_tree": { "oid": "c1054f21f78da51383644b7ac4c5c542253b6d48", "alias": []},
"oid":{ "oid": "198a85b53ca0959fa75220ef730d72f940e788e6", "alias": []},
"msg": "async dns: handle late udp creation",
"sig_commit": { "git_time": { "time": 1650779330, "offset": 60 }, "name": "Andy Green", "email": "andy@warmcat.com", "md5": "c50933ca2aa61e0fe2c43d46bb6b59cb" },
"sig_author": { "git_time": { "time": 1650779249, "offset": 60 }, "name": "Andy Green", "email": "andy@warmcat.com", "md5": "c50933ca2aa61e0fe2c43d46bb6b59cb" }},
"body": "async dns: handle late udp creation\n\nWe may have to retry the UDP socket creation to the DNS servers until\nnetwork is up.\n\n"
,
"diff": "diff --git a/lib/system/async-dns/async-dns.c b/lib/system/async-dns/async-dns.c\nindex bdb0725..c1e020c 100644\n--- a/lib/system/async-dns/async-dns.c\n+++ b/lib/system/async-dns/async-dns.c\n@@ -1097,6 +1097,12 @@ lws_async_dns_query(struct lws_context *context, int tsi, const char *name,\n \t\tgoto failed;\n \t}\n \n+\t/* make sure we have the remote server UDP enabled, it's cheap if we\n+\t * already do. This is for the case we came up before the network and\n+\t * couldn't succeed to open the socket / wsi initially */\n+\n+\tlws_async_dns_create_server_wsi(context);\n+\n \t/* there's an ongoing query we can share the result of? */\n \n \tq \u003d lws_adns_get_query(dns, qtype, 0, name);\n","s":{"c":1753168019,"u": 2404}}
],"g": 3248,"chitpc": 0,"ehitpc": 0,"indexed":0
,
"ab": 0, "si": 0, "db":0, "di":0, "sat":0, "lfc": "0000"}