[GitHub] [apr] uhliarik opened a new pull request, #44 : Fix socket creation when APR_UNSPEC is used

uhliarik (via GitHub) <[email protected]>
Newsgroups gmane.comp.apache.apr.devel
Message-ID <[email protected]>
uhliarik opened a new pull request, #44:
URL: https://github.com/apache/apr/pull/44

   When APR_UNSPEC is used, socket family is automaticaly set to APR_INET6 in apr_socket_create() and therefore if apr_sockaddr_info_get() finds out that the given address is in IPv4 format, it fails when calling apr_socket_connect(). So we first call apr_sockaddr_info_get() to get info about addr family and then pass it to apr_socket_create().


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