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 be9837c Merge branch 'master' into quic-latest
add 42db8bb Set pcre_malloc/free function pointers in core main() only.
(#7608)
add 3d26637 Increase Proxy Verifier caching delay. (#7616)
add 10f7c51 Implement log throttling (#7279)
add f639621 Typo in output when forcing kqueue for configure (#7617)
add 3008c61 Use standard isdigit library function (#7619)
add 660bd3b Add failed state to hostdb to better track failing origins
(#7291)
add c749721 Adding negative revalidating AuTests. (#7620)
add 339045f Remove unused variables (#7626)
add a0c717d statichit: misc. fixes (#7634)
add 9e38df9 Add proxy.process.http.background_fill_total_count (#7625)
add f278427 Add thread yeield to avoid busy waiting in
LogObject::_checkout_write(). (#7576)
add da29e26 Add default implementation for allow_half_open (#7630)
add cd7fe0d Expose URL element methods through HTTPHdr (#7628)
add ede54c1 Add pooled_server_connections metric (#7627)
add 8f25b6b Remove reference to client.verify.server from tests and other
bits (#7639)
add 7504f67 Updating documentation for negative_revalidating_lifetime
(#7633)
add c37f355 Fix tls_client_versions and tls_hooks18 tests (#7645)
add 2333388 Fix HttpSessionManager::acquireSession from previous rebase
error (#7631)
add d75c595 Add proxy.config.cache.log.alternate.eviction (#7629)
add e678c3f Document http.default_buffer_water_mark (#7612)
add c08e78c Change ROUNDUP from function-like macro to function template.
(#7614)
add 6b28f19 Remove erroneous manager.log mesg with remap include file
reload (#7646)
add ba97714 Update server_response_body_bytes when background fill worked
(#7621)
add b76e358 Use correct default value for verify.server.policy (#7636)
add 4f62b62 Update -with-profile and add some profiling documentation
(#7601)
add 0160e48 Fixing Throttler.h for older clang and gcc compilers (#7651)
add 7899264 Comment why log eviction isn't implemented via a log field.
(#7648)
add 43452ca Refine Inline.cc carveout for arm64 darwin builds (#7662)
add ebd9d38 Adding TCP Info header support to header rewrite (#7516)
add 36440ef AuTest: address various permissions issues (#7668)
add 270ca6e Do NOT kill tunnel if it has any consumer besides
HT_HTTP_CLIENT (#7641)
add f11cab6 Add AuTest for Background Fill (#7613)
add 455b06e sslheaders AuTest: Skip if plugin does not exist (#7678)
add 4c88270 Updating to AuTest 1.10.0 (#7682)
add af07f20 create a new cache status RWW_HIT (#7670)
add 09e7283 Fix has_consumer_besides_client to deal with no clients
(#7685)
add 8c41978 Add close header normalize openclose test (#7679)
add 23c0f1a Refine connection failure logging and messages and eliminate
suprious connection errors (#7580)
add b05c5be Fix use of -mcx16 flag - only use if it compiles cleanly.
(#7684)
add 9817675 Add STL compliant field iteration to MIMEHdr. - rebase.
(#7476)
add a8b6746 Make HTTP/2 Curl AuTest gold files case insensitive (#7683)
add 739994f Add class to normalize handling of pending action (#7667)
add 9ed916c Rollback LAZY_BUF_ALLOC remove in HttpTunnel (#7583)
add 53b76fc Scalar; Move "tag" struct to be inside the "ts" namespace to
avoid collisions. (#7690)
add f4af9d1 Remove undefined method HttpSM::setup_client_header_nca
(#7691)
add a5a8523 Remove undefined method HttpSM::perform_nca_cache_action
(#7692)
add a8e98d6 New rate_limit plugin for simple resource limitations (#7623)
add cc9c446 Automatically marks PRs and issues stale (#7675)
add b082152 Fix a bug in tspush that pushes corrupted content to cache
(#7696)
add 1806440 Call do_io_close instead of HTTP2_SESSION_EVENT_FINI handler
(#7594)
add ae72bb9 Add sqpv log field for server protocol (#7680)
add 246e539 Remove configure-time loopback interface detection (#7702)
add 3fd2c60 Remove support for --enable-remote-cov-commit (#7700)
add 19d3af4 Add NixOS support (#7697)
add 890fe3d Add new TS API function TSUrlRawPortGet. (#7568)
add e91ca3c Parent Select Plugin (#7467)
add 221878d fix mem leak in session cache (#7707)
add 9f9594f Fix ALPN support on QUIC connections (#7593)
add f66646c Merge branch 'master' into quic-latest
No new revisions were added by this update.
Summary of changes:
.github/workflows/stale.yml | 27 +
build/network.m4 | 18 -
config.layout | 20 +
configs/records.config.default.in | 2 +
configure.ac | 24 +-
doc/admin-guide/configuration/cache-basics.en.rst | 3 +
doc/admin-guide/files/records.config.en.rst | 92 +++-
doc/admin-guide/logging/cache-results.en.rst | 8 +
doc/admin-guide/logging/formatting.en.rst | 4 +-
.../monitoring/statistics/core/cache.en.rst | 11 +-
.../statistics/core/http-connection.en.rst | 6 +
doc/admin-guide/plugins/header_rewrite.en.rst | 18 +
doc/admin-guide/plugins/index.en.rst | 4 +
doc/admin-guide/plugins/rate_limit.en.rst | 115 +++++
.../api/functions/TSUrlHostGet.en.rst | 12 +-
.../api/types/TSOverridableConfigKey.en.rst | 1 -
doc/developer-guide/debugging/profiling.en.rst | 33 ++
.../plugins/http-headers/urls.en.rst | 1 +
include/ts/apidefs.h.in | 21 +-
include/ts/nexthop.h | 49 --
include/ts/parentselectdefs.h | 60 +++
include/ts/ts.h | 42 +-
include/tscore/Diags.h | 338 ++++---------
include/tscore/{Diags.h => DiagsTypes.h} | 117 +----
include/tscore/LogMessage.h | 145 ++++++
include/tscore/Ptr.h | 19 +
include/tscore/Scalar.h | 6 +-
include/tscore/Throttler.h | 135 +++++
include/tscore/ink_config.h.in | 2 -
include/tscore/ink_defs.h | 19 +-
iocore/aio/Inline.cc | 2 +-
iocore/cache/Cache.cc | 4 +
iocore/cache/CacheWrite.cc | 31 ++
iocore/cache/Inline.cc | 2 +-
iocore/cache/P_CacheInternal.h | 1 +
iocore/cache/test/stub.cc | 2 +-
iocore/dns/DNS.cc | 4 +
iocore/dns/DNSConnection.cc | 3 +-
iocore/dns/Inline.cc | 2 +-
iocore/eventsystem/Inline.cc | 2 +-
iocore/hostdb/Inline.cc | 2 +-
iocore/net/Connection.cc | 3 +-
iocore/net/Inline.cc | 2 +-
iocore/net/QUICNetVConnection.cc | 1 +
iocore/net/SSLSessionCache.cc | 2 +
iocore/net/UnixConnection.cc | 3 +-
iocore/net/UnixNetAccept.cc | 6 +-
iocore/utils/I_Machine.h | 1 +
iocore/utils/Machine.cc | 15 +-
lib/perl/lib/Apache/TS/AdminClient.pm | 2 +-
mgmt/ConfigManager.cc | 4 +-
mgmt/RecordsConfig.cc | 8 +-
plugins/Makefile.am | 2 +
plugins/esi/combo_handler.cc | 2 +-
plugins/experimental/cookie_remap/cookie_remap.cc | 24 -
.../Makefile.inc | 16 +-
.../experimental/parent_select/consistenthash.cc | 559 +++++++++++++++++++++
.../experimental/parent_select/consistenthash.h | 80 +++
.../parent_select/consistenthash_config.cc | 232 +++++++++
.../consistenthash_config.h} | 12 +-
plugins/experimental/parent_select/healthstatus.cc | 147 ++++++
plugins/experimental/parent_select/healthstatus.h | 55 ++
.../experimental/parent_select/parent_select.cc | 460 +++++++++++++++++
.../experimental/parent_select/strategy.cc | 208 ++++----
plugins/experimental/parent_select/strategy.h | 271 ++++++++++
plugins/experimental/parent_select/util.h | 56 +++
.../rate_limit}/Makefile.inc | 7 +-
plugins/experimental/rate_limit/limiter.cc | 157 ++++++
plugins/experimental/rate_limit/limiter.h | 182 +++++++
plugins/experimental/rate_limit/rate_limit.cc | 137 +++++
plugins/experimental/statichit/statichit.cc | 13 +
plugins/header_rewrite/conditions.cc | 84 +++-
plugins/header_rewrite/conditions.h | 22 +-
plugins/header_rewrite/factory.cc | 2 +
plugins/header_rewrite/header_rewrite.cc | 6 +
plugins/header_rewrite/parser.cc | 8 +
plugins/header_rewrite/resources.cc | 18 +
plugins/header_rewrite/statement.cc | 2 +
plugins/lua/ts_lua_http_config.c | 2 -
plugins/regex_remap/regex_remap.cc | 23 -
plugins/regex_revalidate/regex_revalidate.c | 15 -
proxy/HostStatus.h | 17 +-
proxy/ParentConsistentHash.cc | 30 +-
proxy/ParentRoundRobin.cc | 14 +-
proxy/ParentSelection.cc | 56 +--
proxy/ParentSelection.h | 2 +-
proxy/ProxySession.h | 3 -
proxy/ProxyTransaction.cc | 6 +
proxy/ProxyTransaction.h | 2 +-
proxy/hdrs/HTTP.cc | 40 +-
proxy/hdrs/HTTP.h | 46 +-
proxy/hdrs/MIME.h | 140 ++++--
proxy/http/Http1ClientSession.cc | 12 +-
proxy/http/HttpConfig.cc | 9 +
proxy/http/HttpConfig.h | 4 +-
proxy/http/HttpSM.cc | 276 +++++-----
proxy/http/HttpSM.h | 48 +-
proxy/http/HttpSessionManager.cc | 23 +-
proxy/http/HttpTransact.cc | 230 +++++----
proxy/http/HttpTransact.h | 33 +-
proxy/http/HttpTransactHeaders.cc | 16 +-
proxy/http/HttpTunnel.cc | 8 +-
proxy/http/HttpTunnel.h | 26 +
proxy/http/remap/NextHopConsistentHash.cc | 26 +-
proxy/http/remap/NextHopRoundRobin.cc | 14 +-
proxy/http/remap/NextHopSelectionStrategy.cc | 2 +-
proxy/http/remap/NextHopSelectionStrategy.h | 11 +-
proxy/http/remap/unit-tests/nexthop_test_stubs.cc | 22 +-
.../remap/unit-tests/test_NextHopConsistentHash.cc | 4 +-
proxy/http2/HPACK.cc | 7 +-
proxy/http2/HTTP2.cc | 9 +-
proxy/http2/Http2ConnectionState.cc | 2 +-
proxy/http2/Http2Stream.h | 7 -
proxy/http2/test_HPACK.cc | 21 +-
proxy/http3/Http3Transaction.cc | 6 -
proxy/http3/Http3Transaction.h | 1 -
proxy/http3/QPACK.cc | 5 +-
proxy/logging/Log.cc | 17 +-
proxy/logging/Log.h | 6 +
proxy/logging/LogAccess.cc | 37 +-
proxy/logging/LogAccess.h | 1 +
proxy/logging/LogBuffer.cc | 4 +-
proxy/logging/LogConfig.cc | 43 +-
proxy/logging/LogFile.cc | 2 +-
proxy/logging/LogObject.cc | 11 +-
proxy/logging/LogStandalone.cc | 2 -
proxy/logging/LogUtils.cc | 11 +-
proxy/logging/unit-tests/test_LogUtils.cc | 2 -
proxy/logging/unit-tests/test_LogUtils.h | 33 +-
proxy/shared/DiagsConfig.cc | 56 ++-
proxy/shared/DiagsConfig.h | 9 +-
rc/trafficserver.in | 34 +-
rc/trafficserver.service.in | 7 +-
src/shared/overridable_txn_vars.cc | 1 -
src/traffic_cache_tool/CacheDefs.h | 20 +-
src/traffic_cache_tool/Makefile.inc | 1 +
src/traffic_logstats/logstats.cc | 13 +
src/traffic_logstats/tests/logstats.json | 6 +
src/traffic_logstats/tests/logstats.summary | 2 +
src/traffic_manager/traffic_manager.cc | 13 +-
src/traffic_server/HostStatus.cc | 93 ++--
src/traffic_server/InkAPI.cc | 79 ++-
src/traffic_server/InkAPITest.cc | 1 -
src/traffic_server/traffic_server.cc | 2 -
src/tscore/BufferWriterFormat.cc | 9 +-
src/tscore/LogMessage.cc | 275 ++++++++++
src/tscore/Makefile.am | 5 +-
.../ink_sys_control.h => src/tscore/Throttler.cc | 42 +-
.../{test_Regex.cc => test_Throttler.cc} | 49 +-
tests/Pipfile | 2 +-
tests/gold_tests/autest-site/init.cli.ext | 2 +-
.../gold_tests/autest-site/trafficserver.test.ext | 28 +-
tests/gold_tests/cache/background_fill.test.py | 140 ++++++
.../cache/gold/background_fill_0_stderr.gold | 19 +
.../cache/gold/background_fill_1_stderr.gold | 19 +
.../cache/gold/background_fill_2_stderr.gold | 19 +
.../cache/gold/two_alternates_evicted.gold | 3 +
.../gold_tests/cache/negative-revalidating.test.py | 70 +++
.../cache/replay/cache-control-max-age.replay.yaml | 14 +-
...negative-caching-300-second-timeout.replay.yaml | 2 +-
.../replay/negative-caching-customized.replay.yaml | 6 +-
.../replay/negative-caching-default.replay.yaml | 8 +-
.../replay/negative-caching-disabled.replay.yaml | 8 +-
.../replay/negative-caching-no-timeout.replay.yaml | 2 +-
.../replay/negative-caching-timeout.replay.yaml | 2 +-
.../negative-revalidating-disabled.replay.yaml | 102 ++++
.../negative-revalidating-enabled.replay.yaml | 133 +++++
.../cache/replay/varied_transactions.replay.yaml | 357 +++++++++++++
.../uri.test.py => cache/vary-handling.test.py} | 15 +-
.../chunked_encoding/chunked_encoding.test.py | 14 +-
.../chunked_encoding/chunked_encoding_h2.test.py | 2 +-
tests/gold_tests/continuations/double_h2.test.py | 2 -
tests/gold_tests/continuations/openclose.test.py | 3 +-
tests/gold_tests/h2/h2disable.test.py | 1 -
.../h2/h2disable_no_accept_threads.test.py | 1 -
tests/gold_tests/h2/h2enable.test.py | 1 -
.../h2/h2enable_no_accept_threads.test.py | 1 -
tests/gold_tests/h2/h2spec.test.py | 1 -
tests/gold_tests/h2/http2.test.py | 8 +-
tests/gold_tests/h2/http2_priority.test.py | 5 +-
tests/gold_tests/h2/httpbin.test.py | 14 +-
tests/gold_tests/ip_allow/ip_allow.test.py | 3 +-
.../pluginTest/combo_handler/combo_handler.test.py | 10 +-
tests/gold_tests/pluginTest/combo_handler/ctwl.txt | 5 +
.../pluginTest/lua/lua_watermark.test.py | 11 +-
.../regex_revalidate/regex_revalidate.test.py | 3 -
.../pluginTest/slice/slice_regex.test.py | 1 -
.../pluginTest/sslheaders/sslheaders.test.py | 7 +-
.../pluginTest/test_hooks/test_hooks.test.py | 9 +-
.../pluginTest/traffic_dump/traffic_dump.test.py | 2 +-
.../traffic_dump/traffic_dump_sni_filter.test.py | 2 +-
tests/gold_tests/pluginTest/tsapi/log.gold | 18 +
tests/gold_tests/pluginTest/tsapi/test_tsapi.cc | 1 +
tests/gold_tests/pluginTest/tsapi/tsapi.test.py | 14 +-
.../gold_tests/pluginTest/url_sig/url_sig.test.py | 55 +-
.../gold_tests/pluginTest/xdebug/x_remap/out.gold | 2 +-
tests/gold_tests/redirect/redirect_actions.test.py | 2 +-
tests/gold_tests/remap/remap_https.test.py | 3 +-
tests/gold_tests/runroot/runroot_manager.test.py | 12 +-
.../timeout/inactive_client_timeout.test.py | 1 +
tests/gold_tests/timeout/tls_conn_timeout.test.py | 15 +-
tests/gold_tests/tls/tls.test.py | 7 +-
.../tls/tls_check_cert_selection.test.py | 4 +-
tests/gold_tests/tls/tls_client_cert.test.py | 4 +-
tests/gold_tests/tls/tls_client_cert2.test.py | 2 +-
.../tls/tls_client_cert_override.test.py | 2 +-
tests/gold_tests/tls/tls_client_verify.test.py | 1 -
tests/gold_tests/tls/tls_client_verify2.test.py | 1 -
tests/gold_tests/tls/tls_client_verify3.test.py | 19 +-
tests/gold_tests/tls/tls_engine.test.py | 1 -
tests/gold_tests/tls/tls_forward_nonhttp.test.py | 1 -
.../gold_tests/tls/tls_hooks_client_verify.test.py | 1 -
tests/gold_tests/tls/tls_hooks_verify.test.py | 1 -
tests/gold_tests/tls/tls_keepalive.test.py | 1 -
tests/gold_tests/tls/tls_ocsp.test.py | 1 -
.../tls/tls_origin_session_reuse.test.py | 16 +-
.../tls/tls_partial_blind_tunnel.test.py | 1 +
tests/gold_tests/tls/tls_sni_host_policy.test.py | 1 -
tests/gold_tests/tls/tls_ticket.test.py | 2 -
tests/gold_tests/tls/tls_tunnel.test.py | 24 +-
tests/gold_tests/tls/tls_tunnel_forward.test.py | 20 +-
tests/gold_tests/tls/tls_verify.test.py | 1 -
tests/gold_tests/tls/tls_verify2.test.py | 1 -
tests/gold_tests/tls/tls_verify3.test.py | 1 -
tests/gold_tests/tls/tls_verify_base.test.py | 1 -
.../gold_tests/tls/tls_verify_ca_override.test.py | 1 -
.../gold_tests/tls/tls_verify_not_pristine.test.py | 1 -
tests/gold_tests/tls/tls_verify_override.test.py | 1 -
.../tls/tls_verify_override_base.test.py | 1 -
.../gold_tests/tls/tls_verify_override_sni.test.py | 1 -
tests/gold_tests/tls_hooks/tls_hooks.test.py | 2 -
tests/gold_tests/tls_hooks/tls_hooks10.test.py | 13 +-
tests/gold_tests/tls_hooks/tls_hooks11.test.py | 13 +-
tests/gold_tests/tls_hooks/tls_hooks12.test.py | 13 +-
tests/gold_tests/tls_hooks/tls_hooks13.test.py | 13 +-
tests/gold_tests/tls_hooks/tls_hooks14.test.py | 14 +-
tests/gold_tests/tls_hooks/tls_hooks15.test.py | 13 +-
tests/gold_tests/tls_hooks/tls_hooks16.test.py | 13 +-
tests/gold_tests/tls_hooks/tls_hooks17.test.py | 13 +-
tests/gold_tests/tls_hooks/tls_hooks18.test.py | 13 +-
tests/gold_tests/tls_hooks/tls_hooks2.test.py | 13 +-
tests/gold_tests/tls_hooks/tls_hooks3.test.py | 13 +-
tests/gold_tests/tls_hooks/tls_hooks4.test.py | 13 +-
tests/gold_tests/tls_hooks/tls_hooks6.test.py | 13 +-
tests/gold_tests/tls_hooks/tls_hooks7.test.py | 13 +-
tests/gold_tests/tls_hooks/tls_hooks8.test.py | 13 +-
tests/gold_tests/tls_hooks/tls_hooks9.test.py | 13 +-
.../traffic_ctl/remap_inc/remap_inc.test.py | 4 +
tools/tspush | 2 +-
tools/tsxs.in | 3 +
250 files changed, 6162 insertions(+), 1677 deletions(-)
create mode 100644 .github/workflows/stale.yml
create mode 100644 doc/admin-guide/plugins/rate_limit.en.rst
delete mode 100644 include/ts/nexthop.h
create mode 100644 include/ts/parentselectdefs.h
copy include/tscore/{Diags.h => DiagsTypes.h} (60%)
create mode 100644 include/tscore/LogMessage.h
create mode 100644 include/tscore/Throttler.h
copy plugins/experimental/{redo_cache_lookup => parent_select}/Makefile.inc
(63%)
create mode 100644 plugins/experimental/parent_select/consistenthash.cc
create mode 100644 plugins/experimental/parent_select/consistenthash.h
create mode 100644 plugins/experimental/parent_select/consistenthash_config.cc
copy plugins/experimental/{uri_signing/cookie.h =>
parent_select/consistenthash_config.h} (68%)
create mode 100644 plugins/experimental/parent_select/healthstatus.cc
create mode 100644 plugins/experimental/parent_select/healthstatus.h
create mode 100644 plugins/experimental/parent_select/parent_select.cc
copy proxy/http/remap/NextHopSelectionStrategy.cc =>
plugins/experimental/parent_select/strategy.cc (50%)
create mode 100644 plugins/experimental/parent_select/strategy.h
create mode 100644 plugins/experimental/parent_select/util.h
copy plugins/{cache_range_requests => experimental/rate_limit}/Makefile.inc
(80%)
create mode 100644 plugins/experimental/rate_limit/limiter.cc
create mode 100644 plugins/experimental/rate_limit/limiter.h
create mode 100644 plugins/experimental/rate_limit/rate_limit.cc
mode change 100644 => 100755 proxy/http/HttpTransact.h
create mode 100644 src/tscore/LogMessage.cc
copy include/tscore/ink_sys_control.h => src/tscore/Throttler.cc (51%)
copy src/tscore/unit_tests/{test_Regex.cc => test_Throttler.cc} (50%)
create mode 100644 tests/gold_tests/cache/background_fill.test.py
create mode 100644 tests/gold_tests/cache/gold/background_fill_0_stderr.gold
create mode 100644 tests/gold_tests/cache/gold/background_fill_1_stderr.gold
create mode 100644 tests/gold_tests/cache/gold/background_fill_2_stderr.gold
create mode 100644 tests/gold_tests/cache/gold/two_alternates_evicted.gold
create mode 100644 tests/gold_tests/cache/negative-revalidating.test.py
create mode 100644
tests/gold_tests/cache/replay/negative-revalidating-disabled.replay.yaml
create mode 100644
tests/gold_tests/cache/replay/negative-revalidating-enabled.replay.yaml
create mode 100644
tests/gold_tests/cache/replay/varied_transactions.replay.yaml
copy tests/gold_tests/{url/uri.test.py => cache/vary-handling.test.py} (73%)
create mode 100644 tests/gold_tests/pluginTest/combo_handler/ctwl.txt