You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2015/07/02 06:06:04 UTC
[jira] [Commented] (TS-3725) ATS's use of host files is broken
[ https://issues.apache.org/jira/browse/TS-3725?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14611434#comment-14611434 ]
ASF GitHub Bot commented on TS-3725:
------------------------------------
Github user jacksontj commented on the pull request:
https://github.com/apache/trafficserver/pull/240#issuecomment-117899355
@SolidWallOfCode This should fix your hosts file feature (TS-3725)
> ATS's use of host files is broken
> ---------------------------------
>
> Key: TS-3725
> URL: https://issues.apache.org/jira/browse/TS-3725
> Project: Traffic Server
> Issue Type: Bug
> Affects Versions: 5.3.0, 6.0.0
> Reporter: Thomas Jackson
> Assignee: Thomas Jackson
> Fix For: 6.0.0
>
>
> The previous implementation actually loaded up the hosts file (in a background thread) and did a get (getbyname_imm) and then set the IPs to match. This works-- but does cause a problem since the port set on it is 0.
> What we need to do is have this thread maintain in an in-memory mapping of name -> ip and have it override resolution within hostdb-- that way we can use host files and maintain whether reals are up or down.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)