This is an automated email from the ASF dual-hosted git repository.
bneradt pushed a change to branch 11-Dev
in repository https://gitbox.apache.org/repos/asf/trafficserver.git
from 88292502d4 Merge latest master into 11-Dev
add 9a11e65436 Add support for parsing Proxy protocol v2 TLV fields
(#11999)
add 5b3c8b5f8e fix note about updating the ats website (#12005)
add f70b13b053 ypaf update: v0.32.0 -> v0.43.0 (#12008)
add f1cf4125dc [Doc] Add deprecated plugins list for 10.0.0 (#12004)
add 552de490af Fixes some typos on Cripts docs (#12010)
add 461677bfc4 Adding a 103 Early Hints Autest (#12007)
add 7520d8942c Update cifuzz.yml (#12013)
add ef802ccdbc Accept PROXY protocol header that carries UDP address info
(#12011)
add 0dc80e83e8 Fix a build issue from iocore cleanup (#12000)
add 0019d04d38 traffic_crashlog: compile for FreeBSD (#12002)
add 9a7488f061 Adds the %{GROUP} condition to HRW, and else clause (#12009)
add 1fdb602af3 tools/cripts/compiler.sh: sanitize and allow for
extensibility (#12018)
add 54b42b11a5 Update modsecurity example that leverages lua plugin
(#11985)
add 769057c4f3 Fix memory leaks in the Healthchecks plugin (#12025)
add 8dda1e7f37 Use ats_free instead of free in LogFlushData destructor
(#12024)
add def08803db Prioritise unwind_INCLUDE_DIRS path (#12017)
add ad02d7de1e records.yaml: Add record name when TS logs unknown fields.
(#12030)
add 320965acbc Verbose debugging for setting the number of net threads
(#12023)
add 152005cba9 install libswoc with versioned filenames (#12019)
add 1e6d803e5f unit test - update cert enddate (#12044)
add 712572a1f4 Update the cmake hwloc processing unit support test to use
the hwloc (#12033)
add 57f6fb54cb Added option for
proxy.config.http.auth_server_session_private (#12006)
add cd3ef0f50a [cache_range_requests] Cleanup debug log (#12041)
add a00cf95dba CID-1591526 - Fix double unlocking. (#12042)
add 007f8a16a1 Coverity - fix some new unit test's new issues. (#12043)
add 41f4400641 CID-1508827 Fix leak in icap_plugin (#12045)
add 2ac2ff24e1 Add support for Unix Domain Socket server (#12031)
add d674b634a0 access_control plugin: Generate Session Cookie by "exp=0"
(#12039)
add 2131034fae Cleanup debug log of do_http_server_open (#12040)
add d206224509 Build tools - Bump quiche version to 0.23.2 (#12051)
add c82122e743 Fix up logging for write-fail-5/collapsed-forwarding
(#12050)
add 87571af1dc Add support for getting authority information from Proxy
Protocol (#12049)
add 94a72272fc traffic_logcat: Bump buffer size (#12054)
add 59ecdebff9 Adds HRW state variables, 16 flags and 4 int8s (#12015)
add 877c5e9d14 Cleanup: Make Cache functions const (#12059)
add d356f7d212 Fix tools/benchmark code/build. (#12062)
add f749e893bf Coverity: Avoid order initalization issue 2. (#12037)
add 50bad7339d Fix memory leak in ink_event_system_init (#12065)
add b2519edef6 Clarifies that parent.config is to be replaced with
strategies (#12063)
add 2292ad0a83 Link iocore/net/test_net correctly on OSes other than macOS
with old CMake (<3.24) (#12038)
add 0d6d0f38eb Extend timeout from 5 to 10 in tunnel_transform test
(#12068)
add 6f3d036ee3 Deprecate name_get() and value_get() function returns const
char * (#10153) (#12027)
add fd23191386 [compress] Add range request control option (#11975)
add 91748d4771 Cleanup - remove a few unused files. (#12061)
add 2f028c83cf Fix intercept plugin ignoring ACL (#12076)
add 736f3c6b90 Fix legacy acl (#12078)
add 0ae7a8e8c5 Fix chunked pipelined requests (#12080)
add df19980cc0 Fix send 100 Continue optimization for GET (#12081)
add 4886e20e89 Export MPTCP CMAKE var to header files (#12058)
add 0fc7e37d5a [cachekey] Cleanup debug log (#12084)
add 286acc0534 Bump version to 10.2.0 (#12089)
add 6e45e065b7 Use ip command as a fallback in redirect_actions test
(#12067)
add 01c530bb37 Change MIMEFieldWrapper name_get and value_get to return
string_view (#12074)
add 24c59aff23 cppcheck - Fix some some errors and warnings. (#12086)
add 675816d46d Add mark_bulk() method to lib/swoc to rebuild the RBTree in
one operation (#12055)
add ca56c225fa Some cleanup for header_rewrite docs (#12083)
add 597cbb8088 Fix a few places where inet_ntop could fail (#12095)
add 9a1ef119f3 Move defaulting install prefix before layout setup (#12085)
add a81932496f AuTest for Cripts (#12057)
add df2b050589 libswoc version update: 1.5.14 (#12097)
new 07a69de016 Merge remote-tracking branch 'upstream/master' into 11-Dev
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.
Summary of changes:
.github/workflows/cifuzz.yml | 2 +-
CMakeLists.txt | 21 +-
doc/admin-guide/files/index.en.rst | 4 +-
doc/admin-guide/files/records.yaml.en.rst | 85 ++-
doc/admin-guide/logging/formatting.en.rst | 2 +
doc/admin-guide/plugins/access_control.en.rst | 2 +-
doc/admin-guide/plugins/compress.en.rst | 17 +-
doc/admin-guide/plugins/header_rewrite.en.rst | 153 ++++-
doc/developer-guide/cripts/cripts-urls.en.rst | 9 +-
doc/developer-guide/release-process/index.en.rst | 4 +-
doc/release-notes/upgrading.en.rst | 7 +
.../client_context_dump/client_context_dump.cc | 2 +-
example/plugins/lua-api/modsecurity/README.md | 23 +-
example/plugins/lua-api/modsecurity/example.conf | 4 +-
example/plugins/lua-api/modsecurity/owasp.conf | 34 +-
include/iocore/net/AcceptOptions.h | 1 +
include/iocore/net/NetVConnection.h | 15 +-
include/iocore/net/ProxyProtocol.h | 45 +-
include/proxy/hdrs/HTTP.h | 1 +
include/proxy/hdrs/MIME.h | 51 +-
include/proxy/http/HttpSM.h | 12 +-
include/proxy/http/HttpTunnel.h | 153 ++++-
include/proxy/http2/HPACK.h | 12 +-
include/proxy/logging/Log.h | 2 +-
include/proxy/logging/LogAccess.h | 1 +
include/proxy/logging/LogField.h | 6 +
include/records/RecHttp.h | 2 +
include/tscore/ink_config.h.cmake.in | 2 +
include/tscore/ink_inet.h | 179 +++++-
lib/swoc/CMakeLists.txt | 21 +-
lib/swoc/include/swoc/DiscreteRange.h | 220 ++++++--
lib/swoc/include/swoc/IPRange.h | 52 ++
lib/swoc/include/swoc/RBTree.h | 30 +-
lib/swoc/include/swoc/bwf_base.h | 24 +-
lib/swoc/include/swoc/swoc_version.h | 4 +-
lib/swoc/src/RBTree.cc | 101 +++-
lib/swoc/src/bw_format.cc | 2 -
lib/swoc/unit_tests/test_ip.cc | 294 ++++++++++
.../cache_range_requests/cache_range_requests.cc | 2 +-
plugins/cachekey/common.h | 14 +-
plugins/compress/compress.cc | 73 ++-
plugins/compress/configuration.cc | 19 +-
plugins/compress/configuration.h | 25 +-
plugins/compress/misc.cc | 2 +-
.../experimental/access_control/access_control.cc | 3 +-
plugins/experimental/access_control/plugin.cc | 1 +
.../cert_reporting_tool/cert_reporting_tool.cc | 2 +-
plugins/experimental/icap/icap_plugin.cc | 2 +-
plugins/experimental/wasm/ats_context.cc | 6 +-
plugins/header_rewrite/conditions.cc | 160 +++++-
plugins/header_rewrite/conditions.h | 185 +++++-
plugins/header_rewrite/factory.cc | 17 +-
plugins/header_rewrite/header_rewrite.cc | 110 +++-
plugins/header_rewrite/header_rewrite_test.cc | 3 +
plugins/header_rewrite/lulu.h | 5 +-
plugins/header_rewrite/operators.cc | 198 ++++++-
plugins/header_rewrite/operators.h | 90 +++
plugins/header_rewrite/parser.cc | 5 +
plugins/header_rewrite/parser.h | 14 +-
plugins/header_rewrite/ruleset.cc | 73 +--
plugins/header_rewrite/ruleset.h | 82 ++-
plugins/header_rewrite/statement.cc | 22 +
plugins/header_rewrite/statement.h | 35 +-
plugins/header_rewrite/value.h | 6 +
plugins/healthchecks/healthchecks.cc | 17 +-
plugins/lua/ts_lua_client_request.cc | 12 +-
plugins/lua/ts_lua_http.cc | 8 +-
plugins/lua/ts_lua_server_request.cc | 21 +-
src/api/InkAPI.cc | 8 +-
src/cripts/tests/query_test.cc | 8 +-
src/iocore/cache/Cache.cc | 16 +-
src/iocore/cache/HttpTransactCache.cc | 79 ++-
src/iocore/cache/P_CacheInternal.h | 18 +-
.../cache/unit_tests/test_Alternate_L_to_S.cc | 12 +-
.../unit_tests/test_Alternate_L_to_S_remove_L.cc | 17 +-
.../unit_tests/test_Alternate_L_to_S_remove_S.cc | 17 +-
.../cache/unit_tests/test_Alternate_S_to_L.cc | 12 +-
.../unit_tests/test_Alternate_S_to_L_remove_L.cc | 17 +-
.../unit_tests/test_Alternate_S_to_L_remove_S.cc | 17 +-
src/iocore/cache/unit_tests/test_Update_header.cc | 7 +-
src/iocore/eventsystem/EventSystem.cc | 1 +
src/iocore/net/CMakeLists.txt | 45 +-
src/iocore/net/P_UnixNetVConnection.h | 4 +-
src/iocore/net/ProxyProtocol.cc | 123 +++-
src/iocore/net/Server.cc | 24 +-
src/iocore/net/UnixNetAccept.cc | 5 +
src/iocore/net/UnixNetProcessor.cc | 8 +-
src/iocore/net/UnixNetVConnection.cc | 12 +-
src/iocore/net/unit_tests/test_ProxyProtocol.cc | 69 ++-
src/mgmt/rpc/jsonrpc/JsonRPCManager.cc | 1 -
src/proxy/FetchSM.cc | 3 +-
src/proxy/hdrs/HTTP.cc | 11 +-
src/proxy/hdrs/HeaderValidator.cc | 28 +-
src/proxy/hdrs/MIME.cc | 14 +-
src/proxy/hdrs/VersionConverter.cc | 44 +-
src/proxy/http/HttpConfig.cc | 2 +-
src/proxy/http/HttpProxyServerMain.cc | 4 +
src/proxy/http/HttpSM.cc | 105 ++--
src/proxy/http/HttpSessionAccept.cc | 17 +-
src/proxy/http/HttpTransact.cc | 119 ++--
src/proxy/http/HttpTunnel.cc | 170 ++++--
src/proxy/http/TestUrl.cc | 114 ----
src/proxy/http/remap/UrlRewrite.cc | 81 ++-
.../http/remap/unit-tests/test_PluginFactory.cc | 7 +-
src/proxy/http/remap/unit-tests/test_RemapRules.cc | 5 +-
src/proxy/http/test_socket_close.cc | 628 ---------------------
src/proxy/http/testheaders.cc | 133 -----
src/proxy/http/unit_tests/test_HttpTransact.cc | 205 +++----
src/proxy/http2/HPACK.cc | 27 +-
src/proxy/http2/Http2ConnectionState.cc | 10 +-
src/proxy/http2/Http2Stream.cc | 5 +-
src/proxy/http2/test_HPACK.cc | 25 +-
.../http2/unit_tests/test_HpackIndexingTable.cc | 35 +-
src/proxy/http3/QPACK.cc | 65 +--
src/proxy/http3/test/test_QPACK.cc | 14 +-
src/proxy/logging/Log.cc | 5 +
src/proxy/logging/LogAccess.cc | 48 +-
src/proxy/logging/LogUtils.cc | 16 +-
src/proxy/logging/unit-tests/test_LogUtils.h | 14 +-
src/records/RecHttp.cc | 24 +-
src/records/RecYAMLDecoder.cc | 4 +-
src/records/RecordsConfig.cc | 2 +-
src/records/test_I_RecLocal.cc | 207 -------
src/records/test_I_RecProcess.cc | 25 -
src/records/test_P_RecProcess.cc | 25 -
src/records/test_RecProcess.i | 608 --------------------
src/traffic_crashlog/CMakeLists.txt | 1 +
src/traffic_crashlog/backtrace.cc | 11 +-
src/traffic_logcat/logcat.cc | 4 +-
src/traffic_server/traffic_server.cc | 10 +-
src/tscore/ink_hw.cc | 26 +-
src/tscore/ink_inet.cc | 7 +
src/tscore/unit_tests/test_ink_inet.cc | 21 +
tests/gold_tests/cripts/cripts.test.py | 73 +++
.../gold_tests/cripts/files/basic.cript | 22 +-
.../gold/basic_cript.gold} | 7 +-
tests/gold_tests/early_hints/early_hints.test.py | 158 ++++++
.../early_hints_server.py} | 59 +-
.../h2/replay_h2origin/h1-client-h2-origin.yaml | 2 +-
tests/gold_tests/pipeline/pipeline.test.py | 137 +++++
tests/gold_tests/pipeline/pipeline_client.py | 104 ++++
tests/gold_tests/pipeline/pipeline_server.py | 201 +++++++
.../access_control/access_control.test.py | 81 +++
.../pluginTest/access_control/etc/hmac_keys.txt | 7 +
.../replays/access_control.replay.yaml | 75 +++
.../pluginTest/compress/compress-range.test.py | 64 +++
.../compress/etc/cache-true-ignore-range.config | 5 +
.../compress/etc/cache-true-no-compression.config | 5 +
.../replay/compress-and-range.replay.yaml} | 148 ++---
.../slow_post_client.py => post/expect_client.py} | 70 +--
tests/gold_tests/post/expect_tests.test.py | 88 +++
tests/gold_tests/{slow_post => post}/http_utils.py | 2 +-
...nue.replay.yaml => expect-continue.replay.yaml} | 11 +-
tests/gold_tests/records/records_yaml.test.py | 6 +-
tests/gold_tests/redirect/redirect_actions.test.py | 18 +
tests/gold_tests/redirect/redirect_post.test.py | 1 +
tests/gold_tests/remap/all_acl_combinations.py | 62 +-
tests/gold_tests/remap/deactivate_ip_allow.py | 108 ++--
tests/gold_tests/remap/remap_acl.test.py | 4 +-
tests/gold_tests/slow_post/quick_server.test.py | 5 +-
.../timeout/inactive_client_timeout.test.py | 9 +-
tests/gold_tests/timeout/slow_server.yaml | 37 +-
tests/gold_tests/timeout/ssl/cert.crt | 30 +-
tests/gold_tests/tunnel/tunnel_transform.test.py | 2 +-
.../{gold_tests/slow_post => tools}/http_utils.py | 0
tools/benchmark/CMakeLists.txt | 2 +-
tools/benchmark/benchmark_SharedMutex.cc | 2 +-
tools/build_boringssl_h3_tools.sh | 2 +-
tools/build_openssl_h3_tools.sh | 2 +-
tools/cripts/compiler.sh | 26 +-
tools/yapf.sh | 4 +-
171 files changed, 4705 insertions(+), 3194 deletions(-)
delete mode 100644 src/proxy/http/TestUrl.cc
delete mode 100644 src/proxy/http/test_socket_close.cc
delete mode 100644 src/proxy/http/testheaders.cc
delete mode 100644 src/records/test_I_RecLocal.cc
delete mode 100644 src/records/test_I_RecProcess.cc
delete mode 100644 src/records/test_P_RecProcess.cc
delete mode 100644 src/records/test_RecProcess.i
create mode 100644 tests/gold_tests/cripts/cripts.test.py
copy plugins/experimental/uri_signing/common.cc =>
tests/gold_tests/cripts/files/basic.cript (73%)
copy tests/gold_tests/{remap/gold/remap-https-200.gold =>
cripts/gold/basic_cript.gold} (56%)
create mode 100644 tests/gold_tests/early_hints/early_hints.test.py
copy tests/gold_tests/{slow_post/quick_server.py =>
early_hints/early_hints_server.py} (63%)
create mode 100644 tests/gold_tests/pipeline/pipeline.test.py
create mode 100644 tests/gold_tests/pipeline/pipeline_client.py
create mode 100644 tests/gold_tests/pipeline/pipeline_server.py
create mode 100644
tests/gold_tests/pluginTest/access_control/access_control.test.py
create mode 100644 tests/gold_tests/pluginTest/access_control/etc/hmac_keys.txt
create mode 100644
tests/gold_tests/pluginTest/access_control/replays/access_control.replay.yaml
create mode 100644 tests/gold_tests/pluginTest/compress/compress-range.test.py
create mode 100644
tests/gold_tests/pluginTest/compress/etc/cache-true-ignore-range.config
create mode 100644
tests/gold_tests/pluginTest/compress/etc/cache-true-no-compression.config
copy tests/gold_tests/pluginTest/{slice/replay/slice_purge.replay.yaml =>
compress/replay/compress-and-range.replay.yaml} (52%)
copy tests/gold_tests/{slow_post/slow_post_client.py => post/expect_client.py}
(59%)
create mode 100644 tests/gold_tests/post/expect_tests.test.py
copy tests/gold_tests/{slow_post => post}/http_utils.py (98%)
copy tests/gold_tests/post/replay/{post-continue.replay.yaml =>
expect-continue.replay.yaml} (86%)
rename tests/{gold_tests/slow_post => tools}/http_utils.py (100%)