Author: brane
Date: Sun Jul 27 16:55:29 2025
New Revision: 1927495

Log:
* src/resolve.c: Update the todo list and comments.

Modified:
   serf/trunk/src/resolve.c

Modified: serf/trunk/src/resolve.c
==============================================================================
--- serf/trunk/src/resolve.c    Sun Jul 27 16:39:08 2025        (r1927494)
+++ serf/trunk/src/resolve.c    Sun Jul 27 16:55:29 2025        (r1927495)
@@ -72,9 +72,6 @@
  * TODO:
  *  - Wake the poll/select in serf_context_run() when new resolve
  *    results are available.
- *
- * - Unbound: Detect when the "hostname" is actually a stringified IP address.
- *   The resolver doesn't handle that, so we have to short-circuit that case.
  */
 
 
@@ -173,6 +170,9 @@ static apr_status_t run_async_resolver_l
 
 #if SERF_HAVE_UNBOUND
 
+/*******************************************************************/
+/* Async resolver that uses libunbound. */
+
 /* DNS classes and record types.
    https://www.iana.org/assignments/dns-parameters/dns-parameters.xhtml */
 #define RR_CLASS_IN    1        /* Internet */
@@ -693,6 +693,9 @@ static apr_status_t run_async_resolver_l
 #else   /* !SERF_HAVE_ASYNC_RESOLVER */
 #if APR_HAS_THREADS
 
+/*******************************************************************/
+/* Default async resolver that uses APR thread pools. */
+
 /* This could be made configurable, but given that this is a fallback
    implementation, it really shouldn't be necessary. */
 #define MAX_WORK_QUEUE_THREADS 50

Reply via email to