ares->ares_status = ARES_ENOTFOUND;
ares->result = CURLE_OK;
-#if ARES_VERSION >= 0x011800 /* >= v1.24.0 */
+#if !defined(CURL_DISABLE_VERBOSE_STRINGS) && \
+ ARES_VERSION >= 0x011800 /* >= v1.24.0 */
if(CURL_TRC_DNS_is_verbose(data)) {
char *csv = ares_get_servers_csv(ares->channel);
CURL_TRC_DNS(data, "asyn-ares: servers=%s", csv);
Curl_multi_mark_dirty(data);
}
+#ifndef CURL_DISABLE_VERBOSE_STRINGS
if(CURL_TRC_M_is_verbose(data)) {
size_t timeout_count = Curl_llist_count(&data->state.timeoutlist);
switch(ps->n) {
}
CURL_TRC_EASY_TIMERS(data);
}
+#endif
if(expect_sockets && !ps->n && data->multi &&
!Curl_uint_bset_contains(&data->multi->dirty, data->mid) &&
data = Curl_splayget(t); /* assign this for next loop */
if(!data)
continue;
+#ifndef CURL_DISABLE_VERBOSE_STRINGS
if(CURL_TRC_TIMER_is_verbose(data)) {
struct Curl_llist_node *e = Curl_llist_head(&data->state.timeoutlist);
if(e) {
CURL_TRC_TIMER(data, n->eid, "has expired");
}
}
+#endif
(void)add_next_timeout(mrc->now, multi, data);
Curl_multi_mark_dirty(data);
}
long *timeout_ms)
{
static const struct curltime tv_zero = {0, 0};
+#ifndef CURL_DISABLE_VERBOSE_STRINGS
struct Curl_easy *data = NULL;
+#endif
if(multi->dead) {
*timeout_ms = 0;
curlx_timediff_us(multi->timetree->key, now) > 0) {
/* some time left before expiration */
timediff_t diff = curlx_timediff_ceil(multi->timetree->key, now);
+#ifndef CURL_DISABLE_VERBOSE_STRINGS
data = Curl_splayget(multi->timetree);
+#endif
/* this should be safe even on 32-bit archs, as we do not use that
overly long timeouts */
*timeout_ms = (long)diff;
}
else {
+#ifndef CURL_DISABLE_VERBOSE_STRINGS
if(multi->timetree) {
data = Curl_splayget(multi->timetree);
}
+#endif
/* 0 means immediately */
*timeout_ms = 0;
}
*timeout_ms = -1;
}
+#ifndef CURL_DISABLE_VERBOSE_STRINGS
if(data && CURL_TRC_TIMER_is_verbose(data)) {
struct Curl_llist_node *e =
Curl_llist_head(&data->state.timeoutlist);
*timeout_ms);
}
}
+#endif
return CURLM_OK;
}