On Mon, 15 Jul 2019, Amit via curl-library wrote:
I would like to seek your opinion/thoughts if it is good idea to re-use the
existing callback to notify the client about DNS resolution ?.
I don't think that sounds like a good idea, no.
To me it sounds like you're looking to patch libcurl rather than to improve
your own application logic. Can't you just fix your one-second wait to avoid
this problem?
--
/ daniel.haxx.se | Get the best commercial curl support there is - from me
| Private help, bug fixes, support, ports, new features
| https://www.wolfssl.com/contact/
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html