[trafficserver] branch 8.0.x updated: Updated Changelog

2020-02-04 Thread bcall
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/8.0.x by this push:
 new 9a5038c  Updated Changelog
9a5038c is described below

commit 9a5038c600325ffd9cb4a9b51975f50deed3c3f8
Author: Bryan Call 
AuthorDate: Tue Feb 4 18:20:00 2020 -0800

Updated Changelog
---
 CHANGELOG-8.0.6 | 6 ++
 1 file changed, 6 insertions(+)

diff --git a/CHANGELOG-8.0.6 b/CHANGELOG-8.0.6
index bee956c..0efc5f6 100644
--- a/CHANGELOG-8.0.6
+++ b/CHANGELOG-8.0.6
@@ -1,6 +1,7 @@
 Changes with Apache Traffic Server 8.0.6
   #4042 - Fixed url_sig error when storing base64ed params in penultimate 
segment.
   #4117 - Add transform TSIOBuffer watermark APIs.
+  #4215 - HostStatus debug logging segfault fix.
   #4590 - Print thread name instead of thread id
   #4840 - resolve stack-use-after-scope in YamlLogConfig.cc
   #5078 - Fix directives for checking TS_USE_TLS_OCSP
@@ -18,6 +19,7 @@ Changes with Apache Traffic Server 8.0.6
   #5489 - gcc9: set default value for printing debug message
   #5497 - gcc9: sprintf and strncat fixes in plugins
   #5516 - Make code compilable with BoringSSL
+  #5636 - HTTP/2: ignore unknown settings
   #5823 - Avoid AWS auth v4 path/query param double encoding
   #5833 - Fix H2 internal counters
   #5887 - Fixed const issue with magick plugin
@@ -32,3 +34,7 @@ Changes with Apache Traffic Server 8.0.6
   #6113 - Patch to fix autest issues
   #6145 - Remove including sys/sysctl.h for Linux
   #6158 - Fixed build issues with hwloc 2.x API changes
+  #6248 - Add support for the old lua formatted ease of use conventions and 
the numeric log rolling values
+  #6308 - Fix clang-format-github CI job for 8.0.x branch
+  #6312 - Set wrap after checking all the parents
+  #6390 - Change header validation



[trafficserver] branch 8.0.x updated: Fixed how we handle uknown schemes

2020-02-04 Thread bcall
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/8.0.x by this push:
 new 6affb92  Fixed how we handle uknown schemes
6affb92 is described below

commit 6affb92d8c85896e8b60abb9f684af8109280a0a
Author: Bryan Call 
AuthorDate: Thu Jan 30 10:42:00 2020 -0800

Fixed how we handle uknown schemes

(cherry picked from commit c20a369fa93b22b492e6aed8bee1da5fa4af1cab)
---
 proxy/hdrs/HdrTest.cc | 101 +++---
 proxy/hdrs/URL.cc |  49 +---
 2 files changed, 108 insertions(+), 42 deletions(-)

diff --git a/proxy/hdrs/HdrTest.cc b/proxy/hdrs/HdrTest.cc
index 49107ca..8046e69 100644
--- a/proxy/hdrs/HdrTest.cc
+++ b/proxy/hdrs/HdrTest.cc
@@ -343,44 +343,100 @@ HdrTest::test_url()
 // Start with an easy one...
 "http://trafficserver.apache.org/index.html";,
 
-// "cheese://bogosity", This fails, but it's not clear it should 
work...
-
-"some.place", "some.place/", "http://some.place";, "http://some.place/";, 
"http://some.place/path";,
-"http://some.place/path;params";, "http://some.place/path;params?query";, 
"http://some.place/path;params?query#fragment";,
-"http://some.place/path?query#fragment";, "http://some.place/path#fragment";,
+"cheese://bogosity",
+
+"some.place",
+"some.place/",
+"http://some.place";,
+"http://some.place/";,
+"http://some.place/path";,
+"http://some.place/path;params";,
+"http://some.place/path;params?query";,
+"http://some.place/path;params?query#fragment";,
+"http://some.place/path?query#fragment";,
+"http://some.place/path#fragment";,
 
-"some.place:80", "some.place:80/", "http://some.place:80";, 
"http://some.place:80/";,
+"some.place:80",
+"some.place:80/",
+"http://some.place:80";,
+"http://some.place:80/";,
 
-"foo@some.place:80", "foo@some.place:80/", "http://foo@some.place:80";, 
"http://foo@some.place:80/";,
+"foo@some.place:80",
+"foo@some.place:80/",
+"http://foo@some.place:80";,
+"http://foo@some.place:80/";,
 
-"foo:bar@some.place:80", "foo:bar@some.place:80/", 
"http://foo:bar@some.place:80";, "http://foo:bar@some.place:80/";,
+"foo:bar@some.place:80",
+"foo:bar@some.place:80/",
+"http://foo:bar@some.place:80";,
+"http://foo:bar@some.place:80/";,
 
 // Some address stuff
-"http://172.16.28.101";, "http://172.16.28.101:8080";, "http://[::]";, 
"http://[::1]";, "http://[fc01:172:16:28::101]";,
-"http://[fc01:172:16:28::101]:80";, 
"http://[fc01:172:16:28:BAAD:BEEF:DEAD:101]";,
-"http://[fc01:172:16:28:BAAD:BEEF:DEAD:101]:8080";, 
"http://172.16.28.101/some/path";, "http://172.16.28.101:8080/some/path";,
-"http://[::1]/some/path";, "http://[fc01:172:16:28::101]/some/path";, 
"http://[fc01:172:16:28::101]:80/some/path";,
-"http://[fc01:172:16:28:BAAD:BEEF:DEAD:101]/some/path";, 
"http://[fc01:172:16:28:BAAD:BEEF:DEAD:101]:8080/some/path";,
-"http://172.16.28.101/";, 
"http://[fc01:172:16:28:BAAD:BEEF:DEAD:101]:8080/";,
-
-"foo:bar@some.place", "foo:bar@some.place/", "http://foo:bar@some.place";, 
"http://foo:bar@some.place/";,
-"http://foo:bar@[::1]:8080/";, "http://foo@[::1]";,
-
-"mms://sm02.tsqa.example.com/0102rally.asf", 
"pnm://foo:bar@some.place:80/path;params?query#fragment",
-"rtsp://foo:bar@some.place:80/path;params?query#fragment", 
"rtspu://foo:bar@some.place:80/path;params?query#fragment",
+"http://172.16.28.101";,
+"http://172.16.28.101:8080";,
+"http://[::]";,
+"http://[::1]";,
+"http://[fc01:172:16:28::101]";,
+"http://[fc01:172:16:28::101]:80";,
+"http://[fc01:172:16:28:BAAD:BEEF:DEAD:101]";,
+"http://[fc01:172:16:28:BAAD:BEEF:DEAD:101]:8080";,
+"http://172.16.28.101/some/path";,
+"http://172.16.28.101:8080/some/path";,
+"http://[::1]/some/path";,
+"http://[fc01:172:16:28::101]/some/path";,
+"http://[fc01:172:16:28::101]:80/some/path";,
+"http://[fc01:172:16:28:BAAD:BEEF:DEAD:101]/some/path";,
+"http://[fc01:172:16:28:BAAD:BEEF:DEAD:101]:8080/some/path";,
+"http://172.16.28.101/";,
+"http://[fc01:172:16:28:BAAD:BEEF:DEAD:101]:8080/";,
+
+// "foo:@some.place", TODO - foo:@some.place is change to foo@some.place 
in the test
+"foo:bar@some.place",
+"foo:bar@some.place/",
+"http://foo:bar@some.place";,
+"http://foo:bar@some.place/";,
+"http://foo:bar@[::1]:8080/";,
+"http://foo@[::1]";,
+
+"mms://sm02.tsqa.example.com/0102rally.asf",
+"pnm://foo:bar@some.place:80/path;params?query#fragment",
+"rtsp://foo:bar@some.place:80/path;params?query#fragment",
+"rtspu://foo:bar@some.place:80/path;params?query#fragment",
 
"/finance/external/cbsm/*http://cbs.marketwatch.com/archive/19990713/news/current/net.htx?source=blq/yhoo&dist=yh

[trafficserver] branch master updated (5830bc7 -> c20a369)

2020-02-04 Thread bcall
This is an automated email from the ASF dual-hosted git repository.

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


from 5830bc7  Change header validation
 add c20a369  Fixed how we handle uknown schemes

No new revisions were added by this update.

Summary of changes:
 proxy/hdrs/HdrTest.cc | 101 +++---
 proxy/hdrs/URL.cc |  49 +---
 2 files changed, 108 insertions(+), 42 deletions(-)



[trafficserver] branch 8.0.x updated: Change header validation

2020-02-04 Thread bcall
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/8.0.x by this push:
 new ea847ad  Change header validation
ea847ad is described below

commit ea847adb40bd3f86eba5b604ad4b9025896f5d22
Author: ZeddYu Lu 
AuthorDate: Tue Feb 4 11:20:13 2020 -0800

Change header validation

(cherry picked from commit 5830bc72611e85e7a31098ce86710242f29076dc)

 Conflicts:
proxy/hdrs/HTTP.cc
---
 proxy/hdrs/HTTP.cc | 22 ++
 1 file changed, 10 insertions(+), 12 deletions(-)

diff --git a/proxy/hdrs/HTTP.cc b/proxy/hdrs/HTTP.cc
index c30efbe..595ed62 100644
--- a/proxy/hdrs/HTTP.cc
+++ b/proxy/hdrs/HTTP.cc
@@ -1125,19 +1125,17 @@ http_parser_parse_req(HTTPParser *parser, HdrHeap 
*heap, HTTPHdrImpl *hh, const
 
 end= real_end;
 parser->m_parsing_http = false;
-
-ParseResult ret = mime_parser_parse(&parser->m_mime_parser, heap, 
hh->m_fields_impl, start, end, must_copy_strings, eof);
-// If we're done with the main parse do some validation
-if (ret == PARSE_RESULT_DONE) {
-  ret = validate_hdr_host(hh); // check HOST header
-}
-if (ret == PARSE_RESULT_DONE) {
-  ret = validate_hdr_content_length(heap, hh);
-}
-return ret;
   }
 
-  return mime_parser_parse(&parser->m_mime_parser, heap, hh->m_fields_impl, 
start, end, must_copy_strings, eof);
+  ParseResult ret = mime_parser_parse(&parser->m_mime_parser, heap, 
hh->m_fields_impl, start, end, must_copy_strings, eof);
+  // If we're done with the main parse do some validation
+  if (ret == PARSE_RESULT_DONE) {
+ret = validate_hdr_host(hh); // check HOST header
+  }
+  if (ret == PARSE_RESULT_DONE) {
+ret = validate_hdr_content_length(heap, hh);
+  }
+  return ret;
 }
 
 ParseResult
@@ -1189,7 +1187,7 @@ validate_hdr_content_length(HdrHeap *heap, HTTPHdrImpl 
*hh)
 if (mime_hdr_field_find(hh->m_fields_impl, MIME_FIELD_TRANSFER_ENCODING, 
MIME_LEN_TRANSFER_ENCODING) != nullptr) {
   // Delete all Content-Length headers
   Debug("http", "Transfer-Encoding header and Content-Length headers the 
request, removing all Content-Length headers");
-  mime_hdr_field_delete(heap, hh->m_fields_impl, content_length_field);
+  mime_hdr_field_delete(heap, hh->m_fields_impl, content_length_field, 
true);
   return PARSE_RESULT_DONE;
 }
 



[trafficserver] branch master updated (5b3c526 -> 5830bc7)

2020-02-04 Thread bcall
This is an automated email from the ASF dual-hosted git repository.

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


from 5b3c526  Change default connection match config value from ip to both
 add 5830bc7  Change header validation

No new revisions were added by this update.

Summary of changes:
 proxy/hdrs/HTTP.cc | 24 +++-
 1 file changed, 11 insertions(+), 13 deletions(-)



[trafficserver] 01/02: Cleanup trailing whitespaces

2020-02-04 Thread bcall
This is an automated email from the ASF dual-hosted git repository.

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

commit 766f8dfc0dbfdb925badd1c9141ff7e62f7ac74b
Author: Masaori Koshiba 
AuthorDate: Tue Jan 7 09:08:24 2020 +0900

Cleanup trailing whitespaces
---
 CHANGELOG-8.0.0| 10 +++
 CHANGELOG-8.0.2|  2 +-
 doc/admin-guide/plugins/cachekey.en.rst|  2 +-
 doc/admin-guide/plugins/lua.en.rst |  3 +-
 doc/appendices/command-line/traffic_layout.en.rst  |  6 ++--
 .../internal-libraries/ArgParser.en.rst|  4 +--
 doc/ext/traffic-server.py  |  2 +-
 rc/trafficserver.in|  4 +--
 tests/README.md|  4 +--
 tests/gold_tests/autest-site/microserver.test.ext  |  2 +-
 .../gold_tests/autest-site/traffic_replay.test.ext |  4 +--
 tests/tools/README.md  | 18 ++--
 tools/traffic_via.pl   | 32 +++---
 13 files changed, 46 insertions(+), 47 deletions(-)

diff --git a/CHANGELOG-8.0.0 b/CHANGELOG-8.0.0
index 5631aa0..f3d6656 100644
--- a/CHANGELOG-8.0.0
+++ b/CHANGELOG-8.0.0
@@ -369,7 +369,7 @@ Changes with Apache Traffic Server 8.0.0
   #2190 - The content-type of TRACE response should be message/http.
   #2194 - Better initialization in Thread.cc.
   #2195 - Fix race condition in thread startup.
-  #2196 - Adding DNS over TCP support 
+  #2196 - Adding DNS over TCP support
   #2201 - Add experimental plugin to initiate H2 Server push for preload links.
   #2202 - H2 test with traffic -replay
   #2209 - Rework SSL Handshake Hooks and add tls_hooks tests.
@@ -451,7 +451,7 @@ Changes with Apache Traffic Server 8.0.0
   #2432 - Format python code with autopep8
   #2434 - Coverity 1379933:  Control flow issues  (DEADCODE)
   #2435 - Resign server.pem for autests to 10 years
-  #2437 - null transform test 
+  #2437 - null transform test
   #2439 - Coverity CID 1380022: FORWARD_NULL
   #2440 - Optimize: Add startIO & stopIO for NetHandler
   #2441 - Bug fix for event thread names
@@ -537,7 +537,7 @@ Changes with Apache Traffic Server 8.0.0
   #2638 - Turn off exception warning for gcc 7
   #2639 - Fixed issue with clean/distclean
   #2643 - fix the missing lock in TSVConnFdCreate api
-  #2644 - remove dup setting with NO_FD 
+  #2644 - remove dup setting with NO_FD
   #2647 - Added arguments for port number and ip in microdns, microserver 
extension.
   #2648 - This removes the FILE_WRITE mechanism from the core
   #2649 - Move http 408 response logic into transaction
@@ -558,7 +558,7 @@ Changes with Apache Traffic Server 8.0.0
   #2690 - Fixed chunked_encoding gold file
   #2691 - Kill unused .c file which contains code in a language invented by a 
Danish guy.
   #2694 - Implement zero-copy within UDPNetProcessorInternal::udp_read_from_net
-  #2696 - Script load speedup for ts_lua remap plugin 
+  #2696 - Script load speedup for ts_lua remap plugin
   #2697 - List packages for building in Ubuntu
   #2698 - CID 1226158: Uninitialized members
   #2714 - Restructured traffic_layout and modified runroot command line
@@ -906,7 +906,7 @@ Changes with Apache Traffic Server 8.0.0
   #3526 - Ran clang-tidy with readability-braces-around-statements
   #3527 - Cleans up some pylint issues in the python code
   #3529 - Correct parameter for certificate verification
-  #3530 - Add time option to traffic_ctl host down.  
+  #3530 - Add time option to traffic_ctl host down.
   #3531 - Doc: Unify ":unit:" to ":units".
   #3532 - Updated to new version of clang-format
   #3533 - Doc: various fixes
diff --git a/CHANGELOG-8.0.2 b/CHANGELOG-8.0.2
index 9fff3e2..1e15928 100644
--- a/CHANGELOG-8.0.2
+++ b/CHANGELOG-8.0.2
@@ -2,7 +2,7 @@ Changes with Apache Traffic Server 8.0.2
   #3601 - Add TLSv1.3 cipher suites for OpenSSL-1.1.1
   #3927 - cppapi :InterceptPlugin fix
   #3939 - Make sure the index stays positive
-  #4217 - Fix a regression in the traffic_ctl host status subcommand. 
+  #4217 - Fix a regression in the traffic_ctl host status subcommand.
   #4369 - Doc: Fix doc build to work with Sphinx 1.8.
   #4541 - Doc minor fixes.
   #4700 - sslheaders experimental plugin:  fix doc typo, improve container use.
diff --git a/doc/admin-guide/plugins/cachekey.en.rst 
b/doc/admin-guide/plugins/cachekey.en.rst
index 0b631d5..5d8b6a0 100644
--- a/doc/admin-guide/plugins/cachekey.en.rst
+++ b/doc/admin-guide/plugins/cachekey.en.rst
@@ -582,7 +582,7 @@ Cacheurl plugin to cachekey plugin migration
 
 The plugin `cachekey` was not meant to replace the cacheurl plugin in terms of 
having exactly the same cache key strings generated. It just allows the 
operator to exctract elements from the HTTP URI in the same way the `cacheurl` 
does (through a regular expression, 

[trafficserver] branch 8.0.x updated (0cdd936 -> 3f3b54f)

2020-02-04 Thread bcall
This is an automated email from the ASF dual-hosted git repository.

bcall pushed a change to branch 8.0.x
in repository https://gitbox.apache.org/repos/asf/trafficserver.git.


from 0cdd936  Set wrap after checking all the parents
 new 766f8df  Cleanup trailing whitespaces
 new 3f3b54f  Run dos2unix on all files in tree

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 CHANGELOG-8.0.0|  10 +-
 CHANGELOG-8.0.2|   2 +-
 doc/admin-guide/plugins/cachekey.en.rst|   2 +-
 doc/admin-guide/plugins/lua.en.rst |   3 +-
 doc/appendices/command-line/traffic_layout.en.rst  |   6 +-
 .../internal-libraries/ArgParser.en.rst|   4 +-
 doc/ext/traffic-server.py  |   2 +-
 include/tscore/MT_hashtable.h  | 882 ++---
 rc/trafficserver.in|   4 +-
 tests/README.md|   4 +-
 tests/gold_tests/autest-site/microserver.test.ext  |   2 +-
 .../gold_tests/autest-site/traffic_replay.test.ext |   4 +-
 .../data/www.customplugin204.test_get.txt  |   4 +-
 .../data/www.customtemplate204.test_get.txt|   4 +-
 .../body_factory/data/www.default204.test_get.txt  |   4 +-
 .../body_factory/data/www.default304.test_get.txt  |   4 +-
 .../body_factory/data/www.example.test_get_200.txt |   6 +-
 .../body_factory/data/www.example.test_get_304.txt |   8 +-
 .../body_factory/data/www.example.test_head.txt|   6 +-
 .../data/www.example.test_head_200.txt |   6 +-
 .../headers/data/www.passthrough.test_get.txt  |   4 +-
 .../headers/data/www.redirect0.test_get.txt|   4 +-
 .../headers/data/www.redirect301.test_get.txt  |   4 +-
 .../headers/data/www.redirect302.test_get.txt  |   4 +-
 .../headers/data/www.redirect307.test_get.txt  |   4 +-
 .../headers/data/www.redirect308.test_get.txt  |   4 +-
 .../headers/general-connection-failure-502.gold|  14 +-
 tests/gold_tests/pluginTest/url_sig/url_sig.gold   |  30 +-
 .../gold_tests/pluginTest/xdebug/x_remap/out.gold  |  58 +-
 tests/gold_tests/redirect/gold/redirect.gold   |   6 +-
 tests/tools/README.md  |  18 +-
 tools/traffic_via.pl   |  32 +-
 32 files changed, 574 insertions(+), 575 deletions(-)



[trafficserver] 02/02: Run dos2unix on all files in tree

2020-02-04 Thread bcall
This is an automated email from the ASF dual-hosted git repository.

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

commit 3f3b54fe9be3dfedf4185b181602487aef27fd4e
Author: Randall Meyer 
AuthorDate: Wed Nov 20 16:32:18 2019 +0800

Run dos2unix on all files in tree

Intentionally ignorng files under lib/yamlcpp (since we just maintain a
copy of their distro)

(cherry picked from commit 994a2f04be6c28ffe7207c08480ad944690a0411)

Additional files on 8.0.x to backport
include/tscore/MT_hashtable.h
tests/gold_tests/pluginTest/xdebug/x_remap/out.gold

Conflicts:
tests/gold_tests/pluginTest/regex_remap/gold/regex_remap_crash.gold
tests/gold_tests/pluginTest/regex_remap/gold/regex_remap_smoke.gold
tests/gold_tests/pluginTest/regex_revalidate/gold/regex_reval-hit.gold
tests/gold_tests/pluginTest/regex_revalidate/gold/regex_reval-miss.gold
tests/gold_tests/pluginTest/regex_revalidate/gold/regex_reval-stale.gold
tests/gold_tests/pluginTest/slice/gold/slice_200.stdout.gold
tests/gold_tests/pluginTest/slice/gold/slice_206.stdout.gold
tests/gold_tests/pluginTest/slice/gold/slice_first.stdout.gold
tests/gold_tests/pluginTest/slice/gold/slice_last.stderr.gold
tests/gold_tests/pluginTest/slice/gold/slice_last.stdout.gold
tests/gold_tests/pluginTest/slice/gold/slice_mid.stderr.gold
tests/gold_tests/pluginTest/slice/gold/slice_mid.stdout.gold
tests/gold_tests/pluginTest/slice/gold_error/crr.stdout.gold
tests/gold_tests/pluginTest/slice/gold_error/etag.stdout.gold
tests/gold_tests/pluginTest/slice/gold_error/lm.stdout.gold
tests/gold_tests/pluginTest/slice/gold_error/non206.stdout.gold
---
 include/tscore/MT_hashtable.h  | 882 ++---
 .../data/www.customplugin204.test_get.txt  |   4 +-
 .../data/www.customtemplate204.test_get.txt|   4 +-
 .../body_factory/data/www.default204.test_get.txt  |   4 +-
 .../body_factory/data/www.default304.test_get.txt  |   4 +-
 .../body_factory/data/www.example.test_get_200.txt |   6 +-
 .../body_factory/data/www.example.test_get_304.txt |   8 +-
 .../body_factory/data/www.example.test_head.txt|   6 +-
 .../data/www.example.test_head_200.txt |   6 +-
 .../headers/data/www.passthrough.test_get.txt  |   4 +-
 .../headers/data/www.redirect0.test_get.txt|   4 +-
 .../headers/data/www.redirect301.test_get.txt  |   4 +-
 .../headers/data/www.redirect302.test_get.txt  |   4 +-
 .../headers/data/www.redirect307.test_get.txt  |   4 +-
 .../headers/data/www.redirect308.test_get.txt  |   4 +-
 .../headers/general-connection-failure-502.gold|  14 +-
 tests/gold_tests/pluginTest/url_sig/url_sig.gold   |  30 +-
 .../gold_tests/pluginTest/xdebug/x_remap/out.gold  |  58 +-
 tests/gold_tests/redirect/gold/redirect.gold   |   6 +-
 19 files changed, 528 insertions(+), 528 deletions(-)

diff --git a/include/tscore/MT_hashtable.h b/include/tscore/MT_hashtable.h
index bfbae79..2c24225 100644
--- a/include/tscore/MT_hashtable.h
+++ b/include/tscore/MT_hashtable.h
@@ -1,441 +1,441 @@
-/** @file
-
-  A brief file description
-
-  @section license License
-
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-
-  http://www.apache.org/licenses/LICENSE-2.0
-
-  Unless required by applicable law or agreed to in writing, software
-  distributed under the License is distributed on an "AS IS" BASIS,
-  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-  See the License for the specific language governing permissions and
-  limitations under the License.
- */
-
-/
-
-  MT_hashtable.h
-
-  Multithread Safe Hash table implementation
-
-
- /
-#pragma once
-
-#define MT_HASHTABLE_PARTITION_BITS 6
-#define MT_HASHTABLE_PARTITIONS (1 << MT_HASHTABLE_PARTITION_BITS)
-#define MT_HASHTABLE_PARTITION_MASK (MT_HASHTABLE_PARTITIONS - 1)
-#define MT_HASHTABLE_MAX_CHAIN_AVG_LEN 4
-template  struct HashTableEntry {
-  key_t key;
-  data_t data;
-  HashTableEntry *next;
-
-  static HashTableEntry *
-  alloc()
-  {
-return (HashTableEntry *)ats_malloc(sizeof(HashTableEntry));
-  }
-
-  static void
-  free(HashTableEntry *entry)
-  {
-ats_free(entry);
-  }
-};
-
-/*
-struct MT_ListEntry{
-  MT_ListEntry():next(NULL),prev(NULL){}
-  MT_ListEntry* ne

[trafficserver] branch master updated (0191424 -> 5b3c526)

2020-02-04 Thread bcall
This is an automated email from the ASF dual-hosted git repository.

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


from 0191424  Remove dependencies on include/tscore
 add 5b3c526  Change default connection match config value from ip to both

No new revisions were added by this update.

Summary of changes:
 mgmt/RecordsConfig.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)



[trafficserver] branch master updated (1f20e80 -> 0191424)

2020-02-04 Thread kichan
This is an automated email from the ASF dual-hosted git repository.

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


from 1f20e80  Skip unnecessary HostDB update on a fall back to serving 
stale record
 add 0191424  Remove dependencies on include/tscore

No new revisions were added by this update.

Summary of changes:
 plugins/lua/ts_lua.c| 1 +
 plugins/lua/ts_lua_client_request.c | 2 +-
 plugins/lua/ts_lua_common.h | 6 +-
 plugins/lua/ts_lua_misc.c   | 2 +-
 plugins/lua/ts_lua_server_request.c | 2 +-
 5 files changed, 9 insertions(+), 4 deletions(-)



[trafficserver] branch master updated (9836b0b -> 1f20e80)

2020-02-04 Thread sudheerv
This is an automated email from the ASF dual-hosted git repository.

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


from 9836b0b  Remove trailing white space from json formatter
 add 1f20e80  Skip unnecessary HostDB update on a fall back to serving 
stale record

No new revisions were added by this update.

Summary of changes:
 iocore/hostdb/HostDB.cc | 10 --
 1 file changed, 8 insertions(+), 2 deletions(-)



[trafficserver] branch quic-latest updated (99a19e8 -> e93a9a5)

2020-02-04 Thread maskit
This is an automated email from the ASF dual-hosted git repository.

maskit pushed a change to branch quic-latest
in repository https://gitbox.apache.org/repos/asf/trafficserver.git.


from 99a19e8  Fix zero-length CID
 add e93a9a5  Fix a buffer size for address validation token

No new revisions were added by this update.

Summary of changes:
 iocore/net/quic/QUICTypes.h | 8 
 1 file changed, 4 insertions(+), 4 deletions(-)