GitHub user jpeach opened a pull request:

    https://github.com/apache/trafficserver/pull/740

    TS-4570: Return to TS_HTTP_OS_DNS_HOOK if server address is set.

    Using HostDB, Traffic Server will try to connect to all the resolved
    IP addresses if the connection fail. However if a plugin sets the
    address using some out-of-band knowledge and TSHttpTxnServerAddrSet,
    it onlt gets to set the address once.
    
    This change returns the state machine to the OS_DNS_HOOK API callout
    so that the plugin can have an opportunity to set a different server
    address.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/jpeach/trafficserver fix/4570

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/trafficserver/pull/740.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #740
    
----
commit ab84e0eb928207ff4d8cb1c11d54203a6bf157d7
Author: James Peach <jpe...@apache.org>
Date:   2016-06-24T23:07:54Z

    TS-4570: Return to TS_HTTP_OS_DNS_HOOK if server address is set.
    
    Using HostDB, Traffic Server will try to connect to all the resolved
    IP addresses if the connection fail. However if a plugin sets the
    address using some out-of-band knowledge and TSHttpTxnServerAddrSet,
    it onlt gets to set the address once.
    
    This change returns the state machine to the OS_DNS_HOOK API callout
    so that the plugin can have an opportunity to set a different server
    address.

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to