docs: add deprecation note for dns function#910
Conversation
|
Hm, I've noticed that I get an ares_init_options(&channel, &options, ARES_OPT_EVENT_THREAD);
ares_dns_record_create(&dnsrec, 0, 0, ARES_OPCODE_QUERY, 0);
ares_send_dnsrec(channel, dnsrec, callback, NULL, &query_id);
ares_dns_record_destroy(dnsrec);
ares_destroy(channel);
ares_library_cleanup();
exit(0);I know that I'm supposed to wait for the query, I'm just wondering if |
|
Its possible that this is a bad error code, it maybe should be Line 154 in a70637c The duplicate query writes out the query as binary, then parses it into a new data structure. The parse likely failed due to missing the question hence |
|
the status code should be better reflected in 91519e7 if I'm correct |
|
@bradh352 does this look okay? |
|
ARES_ENOSERVER is definitely a valid return code to ares_send() and friends, why did it get removed? |
Oops! I meant to change the status I introduced, |
Fix By: Nikolaos Chatzikonstantinou (@createyourpersonalaccount)
Fix By: Nikolaos Chatzikonstantinou (@createyourpersonalaccount)
Fix By: Nikolaos Chatzikonstantinou (@createyourpersonalaccount)
Fix By: Nikolaos Chatzikonstantinou (@createyourpersonalaccount)
Fix By: Nikolaos Chatzikonstantinou (@createyourpersonalaccount)
Fix By: Nikolaos Chatzikonstantinou (@createyourpersonalaccount)
Fix By: Nikolaos Chatzikonstantinou (@createyourpersonalaccount)
Fix By: Nikolaos Chatzikonstantinou (@createyourpersonalaccount)
Fix By: Nikolaos Chatzikonstantinou (@createyourpersonalaccount)
Fix By: Nikolaos Chatzikonstantinou (@createyourpersonalaccount)
No description provided.