[trafficserver] branch master updated (5dafd97 -> 9d51c2f)

2019-12-17 Thread rrm
This is an automated email from the ASF dual-hosted git repository.

rrm pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git.


from 5dafd97  TCL: cleanup in HostLookup.cc, make sure keys are stable. 
(#6263)
 add 9d51c2f  Fixes various crashers loading/reloading parent.config

No new revisions were added by this update.

Summary of changes:
 src/tscore/HostLookup.cc | 20 +---
 1 file changed, 13 insertions(+), 7 deletions(-)



[trafficserver] branch 9.0.x updated: Updated ChangeLog

2019-12-17 Thread zwoop
This is an automated email from the ASF dual-hosted git repository.

zwoop pushed a commit to branch 9.0.x
in repository https://gitbox.apache.org/repos/asf/trafficserver.git


The following commit(s) were added to refs/heads/9.0.x by this push:
 new d692908  Updated ChangeLog
d692908 is described below

commit d692908fe3c19c5a21950cb50e9064d45a967727
Author: Leif Hedstrom 
AuthorDate: Tue Dec 17 11:21:13 2019 -0700

Updated ChangeLog
---
 CHANGELOG-9.0.0 | 5 +
 1 file changed, 5 insertions(+)

diff --git a/CHANGELOG-9.0.0 b/CHANGELOG-9.0.0
index d21ef6f..24443a5 100644
--- a/CHANGELOG-9.0.0
+++ b/CHANGELOG-9.0.0
@@ -826,6 +826,7 @@ Changes with Apache Traffic Server 9.0.0
   #6190 - Fix ssl_session_reuse to compile on macOS and FreeBSD
   #6191 - Limit this check to Linux, where ldd always works
   #6198 - Move logging before session could be freed
+  #6199 - Set END_STREAM flag when write_vio ntodo is 0
   #6201 - ssl_session_reuse optimization to check if diags is on
   #6204 - Lua plugin fix: Account for null in output from TSUrlPercentDecode.
   #6207 - Add autopep8 & pyflakes in dev-packages for AuTest
@@ -833,4 +834,8 @@ Changes with Apache Traffic Server 9.0.0
   #6212 - Cleanup trailing whitespaces, and YAML formatting
   #6218 - Fix stringstream crash during shutdown
   #6224 - Fixed build issue with clang5 and Extendible
+  #6226 - Fix sni.yaml fqdn to match complete name string
   #6231 - Adjust the refcounts to avoid Mutex leak
+  #6247 - Add some stats collections to cache_promote.
+  #6251 - Some tweaks to reloading-plugins.en.rst
+  #6263 - TCL: cleanup in HostLookup.cc, make sure keys are stable.



[trafficserver] branch 9.0.x updated: TCL: cleanup in HostLookup.cc, make sure keys are stable. (#6263)

2019-12-17 Thread zwoop
This is an automated email from the ASF dual-hosted git repository.

zwoop pushed a commit to branch 9.0.x
in repository https://gitbox.apache.org/repos/asf/trafficserver.git


The following commit(s) were added to refs/heads/9.0.x by this push:
 new 863e59a  TCL: cleanup in HostLookup.cc, make sure keys are stable. 
(#6263)
863e59a is described below

commit 863e59a29833888a16b59cce1512d84afac318dd
Author: Alan M. Carroll 
AuthorDate: Tue Dec 17 11:58:53 2019 -0600

TCL: cleanup in HostLookup.cc, make sure keys are stable. (#6263)

(cherry picked from commit 5dafd97c9f106bf56cda450a57346168e44e077f)
---
 src/tscore/HostLookup.cc | 10 +-
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/tscore/HostLookup.cc b/src/tscore/HostLookup.cc
index 79c5095..37c0f9e 100644
--- a/src/tscore/HostLookup.cc
+++ b/src/tscore/HostLookup.cc
@@ -301,7 +301,7 @@ CharIndex::Insert(string_view match_data, HostBranch 
*toInsert)
   illegalKey.reset(new Table);
 }
 toInsert->key = match_data;
-illegalKey->emplace(match_data, toInsert);
+illegalKey->emplace(toInsert->key, toInsert);
   } else {
 while (true) {
   index = asciiToTable[static_cast(match_data.front())];
@@ -675,10 +675,10 @@ HostLookup::InsertBranch(HostBranch *insert_in, 
string_view level_data)
 ink_release_assert(0);
 break;
   case HostBranch::HOST_HASH:
-insert_in->next_level._table->emplace(level_data, new_branch);
+insert_in->next_level._table->emplace(new_branch->key, new_branch);
 break;
   case HostBranch::HOST_INDEX:
-insert_in->next_level._index->Insert(level_data, new_branch);
+insert_in->next_level._index->Insert(new_branch->key, new_branch);
 break;
   case HostBranch::HOST_ARRAY: {
 auto array = insert_in->next_level._array;
@@ -686,9 +686,9 @@ HostLookup::InsertBranch(HostBranch *insert_in, string_view 
level_data)
   // The array is out of space, time to move to a hash table
   auto ha = insert_in->next_level._array;
   auto ht = new HostTable;
-  ht->emplace(level_data, new_branch);
+  ht->emplace(new_branch->key, new_branch);
   for (auto  : *array) {
-ht->emplace(item.match_data, item.branch);
+ht->emplace(item.branch->key, item.branch);
   }
   // Ring out the old, ring in the new
   delete ha;



[trafficserver] branch master updated (9987d72 -> 5dafd97)

2019-12-17 Thread zwoop
This is an automated email from the ASF dual-hosted git repository.

zwoop pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git.


from 9987d72  Fix TS_USE_DIAGS usage for --disable-diags option
 add 5dafd97  TCL: cleanup in HostLookup.cc, make sure keys are stable. 
(#6263)

No new revisions were added by this update.

Summary of changes:
 src/tscore/HostLookup.cc | 10 +-
 1 file changed, 5 insertions(+), 5 deletions(-)