Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix socket creation when APR_UNSPEC is used #44

Closed
wants to merge 3 commits into from

Commits on Jun 23, 2023

  1. Fix socket creation when APR_UNSPEC is used

    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().
    uhliarik committed Jun 23, 2023
    Configuration menu
    Copy the full SHA
    802ed79 View commit details
    Browse the repository at this point in the history

Commits on Jun 26, 2023

  1. Go through all resolved addresses use the first one

    to which is possible connect.
    uhliarik committed Jun 26, 2023
    Configuration menu
    Copy the full SHA
    37da271 View commit details
    Browse the repository at this point in the history

Commits on Jun 27, 2023

  1. Configuration menu
    Copy the full SHA
    03665bb View commit details
    Browse the repository at this point in the history