[
https://issues.apache.org/jira/browse/TS-3774?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14645216#comment-14645216
]
ASF subversion and git services commented on TS-3774:
-----------------------------------------------------
Commit 13c76b35cfd4c1b8d9225a8b24279beb08215a46 in trafficserver's branch
refs/heads/6.0.x from [~zwoop]
[ https://git-wip-us.apache.org/repos/asf?p=trafficserver.git;h=13c76b3 ]
Merge branch 'master' into 6.0.x
* master: (188 commits)
Clang-format. briang what is the Jira for this??
TS-3798: Copy server session sharing pool to local HttpSM configuration.
Revert "TS-3584: SPDY and H2 requests should not trigger connection
keep-alive."
Revert "TS-3640: Drupal auth fails over SPDY"
TS-3030 Restore the autoreconf -if ...
TS-3729 cache_promote: defer TSHttpTxnServerRespNoStoreSet() to a global
continuation, saves a possible race condition
Revert "TS-3729 cache_promote: defer TSHttpTxnServerRespNoStoreSet() to a
global continuation, saves a possible race condition"
TS-3030 Remove the Makefile targets / ops
TS-3729 cache_promote: defer TSHttpTxnServerRespNoStoreSet() to a global
continuation, saves a possible race condition
TS-3774 clang-format
[TS-3794]: call spdy_process_read on early read from handshake.
TS-3774: Fix memory leak issue in host file parsing for HostDB.
[TS-3794]: Enhance post SSL handshake read race condition for SPDY and H2
scenarios.
TS-3793: Check the incoming header request length for HTTP/2 requests
TS-3783 TS-3030 Add luajit v2.0.4 as a subtree
TS-3030 Remove the LuaJIT sub-module
TS-3773 clang-format
TS-3773: HostDB view all: add more detail for RR records
Fixed typo in comment
Fixed typo in comments
...
> Bug in HostDB hosts file implementation
> ---------------------------------------
>
> Key: TS-3774
> URL: https://issues.apache.org/jira/browse/TS-3774
> Project: Traffic Server
> Issue Type: Bug
> Components: HostDB
> Reporter: Brian Geffon
> Assignee: Alan M. Carroll
> Fix For: 6.1.0
>
> Attachments: ts-3774.patch
>
>
> There is a bug in the current implementation of hostdb's use of hostsfiles.
> Because it uses a static local variable the storage is shared and ultimately
> will lead to race conditions if the hosts file is reloaded.
> {code}
> if (find_result != current_host_file_map->hosts_file_map.end()) {
> // TODO: Something to make this not local :/
> static HostDBInfo r;
> r.round_robin = false;
> r.round_robin_elt = false;
> r.reverse_dns = false;
> r.is_srv = false;
> ats_ip_set(r.ip(), (*find_result).second);
> return &r;
> }
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)