[trafficserver] branch master updated (1baffec -> 13285d1)

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

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


from 1baffec  Add PROXY Protocol Builder (#7445)
 add 13285d1  Perf: Replace casecmp with memcmp in HPACK static table 
lookup (#6521)

No new revisions were added by this update.

Summary of changes:
 proxy/http2/HPACK.cc | 36 
 1 file changed, 16 insertions(+), 20 deletions(-)



[trafficserver] branch 7.1.x updated: autest environment setup: upgrade setuptools and wheel (#7305)

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

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


The following commit(s) were added to refs/heads/7.1.x by this push:
 new f8aabf2  autest environment setup: upgrade setuptools and wheel (#7305)
f8aabf2 is described below

commit f8aabf23d7ca1d08445d1c684d0b09b60b87816e
Author: Brian Neradt 
AuthorDate: Thu Feb 4 17:34:29 2021 -0600

autest environment setup: upgrade setuptools and wheel (#7305)

This address issues with the AuTest Python virtual environment
configuration by ensuring an updated setuptools and wheel.
---
 tests/bootstrap.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/bootstrap.py b/tests/bootstrap.py
index 0d1194f..8eb807a 100755
--- a/tests/bootstrap.py
+++ b/tests/bootstrap.py
@@ -178,7 +178,7 @@ def venv_cmds(path):
 return [
 # first command only needed for rhel and centos systems at this time
 extra + " virtualenv --python=python3 {0}".format(path),
-extra + " {0}/bin/pip install pip --upgrade".format(path)
+extra + " {0}/bin/pip install pip setuptools wheel 
--upgrade".format(path)
 ]
 
 



[trafficserver] branch master updated (926dd71 -> 1baffec)

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

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


from 926dd71  Adjust so transfer-encoding header can be treated hop-by-hop 
(#7473)
 add 1baffec  Add PROXY Protocol Builder (#7445)

No new revisions were added by this update.

Summary of changes:
 include/tscore/ink_inet.h   |   6 +-
 iocore/net/ProxyProtocol.cc | 186 +++-
 iocore/net/ProxyProtocol.h  |   3 +
 iocore/net/unit_tests/test_ProxyProtocol.cc | 100 +++
 4 files changed, 292 insertions(+), 3 deletions(-)



[trafficserver] branch master updated (2959516 -> 926dd71)

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

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


from 2959516  Convert auxkey form 2 uint32_t to 1 uint64_t. (#7350)
 add 926dd71  Adjust so transfer-encoding header can be treated hop-by-hop 
(#7473)

No new revisions were added by this update.

Summary of changes:
 proxy/hdrs/HdrToken.cc |  3 +-
 proxy/http/HttpSM.cc   | 17 ++--
 proxy/http/HttpTransact.cc | 50 ++
 proxy/http/HttpTransact.h  |  2 +
 .../chunked_encoding/chunked_encoding.test.py  |  1 -
 tests/gold_tests/h2/http2.test.py  |  4 +-
 6 files changed, 51 insertions(+), 26 deletions(-)



[trafficserver] branch master updated (87800c4 -> 2959516)

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

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


from 87800c4  Remove the queuing option from 
proxy.config.http.per_server.connection (#7302)
 add 2959516  Convert auxkey form 2 uint32_t to 1 uint64_t. (#7350)

No new revisions were added by this update.

Summary of changes:
 iocore/cache/Cache.cc |  5 ++-
 iocore/cache/CacheDir.cc  |  3 +-
 iocore/cache/CacheWrite.cc|  3 +-
 iocore/cache/P_RamCache.h | 10 +++---
 iocore/cache/RamCacheCLFUS.cc | 75 ---
 iocore/cache/RamCacheLRU.cc   | 46 --
 6 files changed, 64 insertions(+), 78 deletions(-)



[trafficserver] branch master updated (2b034dd -> 87800c4)

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

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


from 2b034dd  Remove unused function ink_microseconds. (#7481)
 add 87800c4  Remove the queuing option from 
proxy.config.http.per_server.connection (#7302)

No new revisions were added by this update.

Summary of changes:
 doc/admin-guide/files/records.config.en.rst | 28 +-
 mgmt/RecordsConfig.cc   |  4 --
 proxy/http/HttpConfig.cc| 14 ++-
 proxy/http/HttpConnectionCount.cc   | 59 -
 proxy/http/HttpConnectionCount.h| 15 +---
 proxy/http/HttpSM.cc| 27 ++---
 6 files changed, 23 insertions(+), 124 deletions(-)



[trafficserver] branch 9.0.x updated: Updated ChangeLog

2021-02-04 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 7b5ed3d  Updated ChangeLog
7b5ed3d is described below

commit 7b5ed3dc337617ed4c43ca8b96b225ffe5c2de10
Author: Leif Hedstrom 
AuthorDate: Thu Feb 4 14:54:50 2021 -0700

Updated ChangeLog
---
 CHANGELOG-9.0.1 | 1 +
 1 file changed, 1 insertion(+)

diff --git a/CHANGELOG-9.0.1 b/CHANGELOG-9.0.1
index 5030e3e..a308767 100644
--- a/CHANGELOG-9.0.1
+++ b/CHANGELOG-9.0.1
@@ -11,6 +11,7 @@ Changes with Apache Traffic Server 9.0.1
   #7347 - Allow for regex_remap of pristine URL.
   #7377 - Addresses some of the lock contention with HostStatus.
   #7395 - Replace ::exit() with _exit() to avoid secondary cleanup cores
+  #7410 - Fix issue with unavailable server retry codes
   #7414 - Remove the warning messages
   #7416 - Enhancements for compress plugin
   #7420 - Update documentation for TSSslSessionInsert



[trafficserver] branch 9.0.x updated: Fix issue with unavailable server retry codes (#7410)

2021-02-04 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 5d111be  Fix issue with unavailable server retry codes (#7410)
5d111be is described below

commit 5d111bea2ce2ff866135eff2e8b6fdf911ad96d3
Author: Evan Zelkowitz 
AuthorDate: Mon Jan 11 10:23:10 2021 -0700

Fix issue with unavailable server retry codes (#7410)

Currently when populating the list it checks for >500, this should be 499 
to not exclude `500`

Also adding warnings during token parsing to notify if a user has added an 
erroneous err code to the unavailable or simple codes list

(cherry picked from commit 98ec28e64cb93cb40e6cd845da3022bdd68d6148)
---
 proxy/ParentSelection.cc | 8 ++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/proxy/ParentSelection.cc b/proxy/ParentSelection.cc
index 1b6a861..625db90 100644
--- a/proxy/ParentSelection.cc
+++ b/proxy/ParentSelection.cc
@@ -336,15 +336,17 @@ 
UnavailableServerResponseCodes::UnavailableServerResponseCodes(char *val)
   numTok = pTok.Initialize(val, SHARE_TOKS);
   if (numTok == 0) {
 c = atoi(val);
-if (c > 500 && c < 600) {
+if (c > 499 && c < 600) {
   codes.push_back(HTTP_STATUS_SERVICE_UNAVAILABLE);
 }
   }
   for (int i = 0; i < numTok; i++) {
 c = atoi(pTok[i]);
-if (c > 500 && c < 600) {
+if (c > 499 && c < 600) {
   Debug("parent_select", "loading response code: %d", c);
   codes.push_back(c);
+} else {
+  Warning("UnavailableServerResponseCodes received non-5xx code '%s', 
ignoring!", pTok[i]);
 }
   }
   std::sort(codes.begin(), codes.end());
@@ -372,6 +374,8 @@ SimpleRetryResponseCodes::SimpleRetryResponseCodes(char 
*val)
 if (c > 399 && c < 500) {
   Debug("parent_select", "loading simple response code: %d", c);
   codes.push_back(c);
+} else {
+  Warning("SimpleRetryResponseCodes received non-4xx code '%s', 
ignoring!", pTok[i]);
 }
   }
   std::sort(codes.begin(), codes.end());



[trafficserver] 01/01: slice/Range: change maxval to use defined value instead of numeric_limits

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

bnolsen pushed a commit to branch slice_range
in repository https://gitbox.apache.org/repos/asf/trafficserver.git

commit 16f5bb0e1c133060cbf968ed02fba9f664f5b459
Author: Brian Olsen 
AuthorDate: Thu Feb 4 18:44:24 2021 +

slice/Range: change maxval to use defined value instead of numeric_limits
---
 plugins/experimental/slice/Range.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/plugins/experimental/slice/Range.h 
b/plugins/experimental/slice/Range.h
index ba581c6..6bba4c6 100644
--- a/plugins/experimental/slice/Range.h
+++ b/plugins/experimental/slice/Range.h
@@ -20,7 +20,7 @@
 
 #include "ts/ts.h"
 
-#include 
+#include 
 
 /**
   represents a value parsed from a Range request header field.
@@ -29,7 +29,7 @@
 
 struct Range {
 public:
-  static int64_t constexpr maxval = (std::numeric_limits::max() >> 2);
+  static int64_t constexpr maxval = {static_cast(LLONG_MAX) / 2};
 
   int64_t m_beg{-1};
   int64_t m_end{-1}; // half open



[trafficserver] branch slice_range created (now 16f5bb0)

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

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


  at 16f5bb0  slice/Range: change maxval to use defined value instead of 
numeric_limits

This branch includes the following new commits:

 new 16f5bb0  slice/Range: change maxval to use defined value instead of 
numeric_limits

The 1 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.