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

uhliarik (via GitHub) <[email protected]>
Newsgroups gmane.comp.apache.apr.devel
Message-ID <PR_kwDOAAJ05c5JCLWK-6a46d771-e9c3-4e63-8864-d9c52dc2e3fa@gitbox.apache.org>
uhliarik commented on code in PR #39:
URL: https://github.com/apache/apr/pull/39#discussion_r1095715926


##########
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:
   It definitely should!



-- 
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.