[GitHub] [apr] notroj commented on a diff in pull request #39: Don't force IPv4 use

notroj (via GitHub) <[email protected]>
Newsgroups gmane.comp.apache.apr.devel
Message-ID <PR_kwDOAAJ05c5JCLWK-9ff5cf24-cd71-4a5b-87fb-f628f1533ba9@gitbox.apache.org>
notroj commented on code in PR #39:
URL: https://github.com/apache/apr/pull/39#discussion_r1094223656


##########
memcache/apr_memcache.c:
##########
@@ -328,7 +328,7 @@ mc_conn_construct(void **conn_, void *params, apr_pool_t *pool)
     apr_pool_t *tp;
     apr_memcache_server_t *ms = params;
 #if APR_HAVE_SOCKADDR_UN
-    apr_int32_t family = ms->host[0] != '/' ? APR_INET : APR_UNIX;
+    apr_int32_t family = ms->host[0] != '/' ? APR_UNSPEC : APR_UNIX;
 #else
     apr_int32_t family = APR_INET;

Review Comment:
   Shouldn't the family = APR_INET lines change in both places too?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.