This is an automated email from the ASF dual-hosted git repository. bneradt pushed a change to branch 10-Dev in repository https://gitbox.apache.org/repos/asf/trafficserver.git.
from 86549bf Create and dump the runroot.yaml file for trafficserver tests. This will dump the file in the config folder by default, it can be disabled by parameter if needed. (#8641) add e866536 Add AuTest for POST & connect_attempts_timeout (#8286) add a3f04cb Added metrics to the rate limit plugin and document the new options (#8395) add b43c213 Document proxy.config.memory.max_usage (#8450) add 83c89f3 Detect and handle chunk header size truncation (#8452) add 268b540 Ignore ECONNABORTED on blocking accept (#8453) add 6e50701 Reject Transfer-Encoding in pre-HTTP/1.1 requests (#8451) add 4553b4f Reject Transfer-Encoding in pre-HTTP/1.1 requests (#8451) add 64f2567 Fix output '\n' HTTP field line endings (#8455) add 92849ce Add some checking to validate the scheme matches the wire protocol. (#8465) add 9bbed6e ssl_verify_test: clang-analyzer fix to account for nul sni_name (#8462) add 29a5092 Add thread safety to PendingAction operations. (#8443) add 2fc91a8 Dismiss stale reviews when PR has been updated (#8470) add 02b17db Check length before search accept-encoding header (#8475) add 6b32b74 Fix case of brotli (#8476) add cf78492 Make factory.response_suppression_mode an overridable config (#8469) add 335686b ssl_secret debug printing: print only the first 50 bytes (#8483) add 8371a24 Update control mechanism changes in lua plugin (#8482) add 93179fc Add AuTest for HTTP CONNECT (#8449) add 3ac5bcc Revert "Add some checking to validate the scheme matches the wire protocol. (#8465)" (#8486) add 055ca11 Tweak MimeHdr::get_host_port_values to not run over the end of the TextView. (#8468) add 9e08d5f When checking for SSL_set1_verify_cert_store, save/restore LIBS before manipulating LIBS (#8492) add bec2bf1 Adding a forward proxy AuTest. (#8485) add 174dfaa fix wording (#8491) add 1bbb505 Better TLS Secrets Truncation. (#8489) add 1f5e583 clang 13: Removed unused variable (#8493) add bfd5f89 Update HostDBContinuation timeout handling to clear pending queue. (#8480) add 332617f Define TS_HTTP_VALUE_BROTLI and TS_HTTP_LEN_BROTLI (#8477) add 432d01b Block TS startup if configured body factory directory does not exist. (#544) (#8497) add 267dc2c Move MIME field iterator from MIMEHdr to MIMEHdrImpl (#8467) add 94472cc Close #5505 - dir_token is unused and should be removed. (#8321) add ac16a3b Fix length bug in validate_unmapped_url_path (#8080) add 6663d7b UnixNetVConnection: add check for nh in fail block (#8479) add aee5a61 tests: Adjust generated file paths to work within some restricted environments (#8499) add ff29971 clang 13: Added default assignment operator (#8494) add 05d2ebd Serve stale from child if parent returns invalid resp or marked down (#8473) add 53d5a59 build: fix detection of boringocsp (#8502) add 3fed79a cache_range_requests plugin: don't require 206 Partial Content reason string (#8488) add 9094588 url_sig: fix bad cast to pointer of different type (#8505) add 664e80e use shared pointer to help with high memory utilization (#8498) add 0e59150 remap_stats: convert to using TSHttpTxnPristineUrlGet and TSHttpTxnClientReqGet for hostname, remove pre remap continuation (#8362) add 2604a6c Marks tls_engine test as OpenSSL-only (#8509) add 984d8cb Add skipped log entries to troubleshooting FAQ in docs. (#8507) add 537204d Add tries and protection against writer starvation to ink_rwlock. (#7611) add 250575b Improve option processing in cache promote (#8501) add 8bc603a Remove commented out EventProcessor::eventthread - it's time (#8517) add 1aa91fe Change event loop to be cleaner. (#8516) add 7afa34c Change TSMimeHdrFieldNext to use field iterators for better performance. (#8504) add 30096b4 Add 5xx's to be allowed to be used for simple retries (#8518) add a329358 Prevent bad ssl_multicert.config load from being swapped in (#8515) add 1b78c10 Makes proxy_serve_stale version independent (#8508) add 356e3e9 Add proxy.config.http2.stream_error_sampling_threshold (#8506) add c29afb7 Remove unused RemapPlugins::_hh_ptr (#8521) add deab1dc KIWF - remove unused RemapPlugins::run_remap (#8522) add 4c6f65c url_sig: change cleanup msg from TSError to TSDebug (#8523) add 4547ed7 Adds the set-http-cntl operator for header_rewrite (#8375) add 90c41fe Enable GitHub wiki for trafficserver (#8530) add 2149f0a remove unused function (#8525) add a9405ac Extend milestone api time tracking to remap. (#8520) add 57015b7 Destroy ssl context after use. (#8531) add 7bc025c Adds autest to test error cases loading ssl_multicert.config (#8532) add 8ee2aec docs: fix fedora install notes and spelling issues (#8537) add 796be32 Set an appropriate callback function for OpenSSL3 (#8524) add a7d2539 Add a knob to enable kTLS (#8526) add 4d430e0 Eliminate unused code in LogObject. (#8541) add 3524b79 Enable conf_remap_float test and remove special case for local config file (#8540) add 8de830b Partial of revert "Cleanup generated LDFLAGS for jemalloc (#8285)" (#8533) add 42ad946 Traffic Dump: Use the correct transaction user index (#8548) add 3e8f2eb backout down parent retry limiting in parent selection and nexthop (#8546) add ed81c93 combo_handler: Initialize User Arg Index in TSRemapInit (#8551) add 5774921 TSUserArg: add value type checking (#8550) add a13fd3d Relax key validation of sni.yaml (#8549) add 61c0fcc Clear random header value by AIO read error (#8559) add 35d50da Fixes macOS arm64 builds (again) (#8556) add 5d5920e Remove drand48() usage (#8560) add 4fb10a7 Add SSLSessionDup for older OpenSSL and BoringSSL (#8578) add cc117d2 Port #7837 from core strategy to plugin (#8573) add ca3654c Port #6816 from core strategy to plugin (#8570) add f4d26aa Docs: Fix default value of proxy.config.ssl.handshake_timeout_in (#8574) add 03267ba Port #7749 from core strategy to plugin (#8571) add bb782a7 Exclude 3rd party libs from LGTM checks (#8577) add f0a69cd LGTM: Fix pointless comparison of unsigined value to zero (#8575) add 4f68338 Eliminate erroneous self-loop error on transparent mode (#8586) add d5ecba8 LGTM: Remove function declaration in block (HdrHeap.cc) (#8588) add 87c36f1 LGTM: Fix constant comparison (#8576) add 71e4aba Clean up of next hop HostRecord class. (#8585) add 0716c2e Propagate accept options to HTTP/2 (#8594) add f071424 Propagate proxy.config.net.sock_option_flag_in to newly accepted connections (#8463) add bda64e5 add --with-mimalloc option (#8233) add 0960eb1 remove unused argument, and make sure condition checks are consistent (#8572) add 4af0b77 Fix transparent mode documentation (#8593) add 85be282 Serve stale content when DNS lookup fails (#8484) add ca2a06e Fixes compacting spaces in S3 auth plugin (#8579) add 81fe416 Cleanup: Remove old SDKTest for thread_pool example plugin (#8596) add 3dd78a7 Docs: Slack instead of irc (#8599) add 9966c9b LogFilter: fix NULL termination check (#8603) add 1141121 Add TLSEarlyDataSupport (#8582) add 4e6dc02 Fixes a scoping bug that leads to "sticky" weights (#8606) add 080e236 TSHttpTxnCacheLookupStatusGet: handle cannot respond cases (#8545) add e04ef2e Removes hard dependency on having perl installed (#8611) add 9ca7618 Update to Proxy Verifier version v2.3.0 (#8608) add 427c42f Adds two overridable config variables to control parent mark downs. (#8595) add b9f0019 Don't use Http1ClientTransaction as an event handler (#8609) add 59b7081 call je_dallocx with flags when needed (#8547) add c0e3ddb ESI processing when origin returns 304 response (#8563) add 235c44a TSHttpTxnCacheLookupStatusGet: call need_to_revalidate (#8617) add 4f0c4f2 SNIConfig (tunnel_route): Change the way we extract matched subgroups from the server name. (#8589) add 99922ef Remove leftovers from SSL wire tracing (#8619) add 4678ae3 Commenting TSHttpTxnCacheLookupStatusGet need_to_revalidate (#8621) add 219b886 OpenSSL 3: Switched to non-deprecated APIs and removed code that was not being used (#8615) add 8ac10d5 Fix 32bit build failure on Odroid Xu-4 (#8626) add 4161724 Revert "Propagate proxy.config.net.sock_option_flag_in to newly accepted connections (#8463)" (#8622) add 708844b Add option to disable JIT in lua plugin (#8618) add 8bb6043 Move the string_view utilities out of TextView into their own files. (#8627) add 0d3fd22 Rate Limit Plugin: Re-enable VConnection when SNI is empty (#8625) add a9955c1 memcache plugin fix (#8584) add 0e00889 fix for collapsed forwarding ink_abort for CacheHitFresh fail (#8613) add 33cc799 Do not turn off cache for internal requests (#8266) add e0d0504 Change the function signature of safe_[get|set]sockopt (#8331) add 6ac752f Introduce TLSTunnelSupport interface (#8612) add 4e8d9dc Clear lua plugin http context after each hook handler (#8607) add 9d0de53 Ports #7897 from core strategies to parent_select plugin. (#8580) add d7b1154 Ports #7925 #8365 core to parent_select plugin (#8590) add 2f1bd0f Revert fixes for #8539 (#8637) add 53f5869 Prevent calling SSL_set_session in the middle of handshake (#8600) add 17b9c5f Make TLS Early Data available with BoringSSL (#8610) add e67e4c4 Move ChangeLog and README.md to the lib/fastlz/ (#8629) add 016a82d Update descriptions of sni.yaml.default (#8568) add 4b0d3cb In TsSharedMutex.h, make error reporting thread-safe. (#8636) add 178f57f Adding clangd language server files to .gitignore (#8640) add 03b063a Default proxy.config.http.strict_uri_parsing to "2" (#8632) add bfd5265 Make TsSharedMutex.h compile on MacOS. (#8645) add 78f2ddc Additional helper functions for request transform (#8631) add 8c5fb9c trim white spaces before and after the equal sign (#8638) add db546cb Revert "body factory does not respect runroot (#8388)" (#8654) add b8d5335 Fix strategies to initialize scheme (#8650) add 048e6e8 Update lua plugin examples (#8646) add 3b26cfb Add libswoc to ATS for core and plugins. (#8628) add 2fbec37 DNS: Fix lack of nameserver failover in low use circumstances. (#7843) add c46a4ca doc: Convert miscased Traffic Server references to |TS| macro (#8543) add 512d3a1 Merge remote-tracking branch 'upstream/master' into 10-Dev No new revisions were added by this update. Summary of changes: .asf.yaml | 5 +- .gitignore | 6 + .lgtm.yml | 10 +- build/boringocsp.m4 | 4 +- build/crypto.m4 | 11 +- build/jemalloc.m4 | 29 +- build/mimalloc.m4 | 95 + build/tcmalloc.m4 | 5 +- configs/sni.yaml.default | 39 +- configure.ac | 9 +- .../configuration/transparent-proxy.en.rst | 45 +- doc/admin-guide/files/parent.config.en.rst | 10 +- doc/admin-guide/files/records.config.en.rst | 68 +- doc/admin-guide/files/strategies.yaml.en.rst | 4 +- doc/admin-guide/performance/index.en.rst | 4 +- doc/admin-guide/plugins/access_control.en.rst | 2 +- doc/admin-guide/plugins/authproxy.en.rst | 5 + doc/admin-guide/plugins/cachekey.en.rst | 2 +- doc/admin-guide/plugins/cert_reporting_tool.en.rst | 4 +- doc/admin-guide/plugins/certifier.en.rst | 4 +- doc/admin-guide/plugins/header_rewrite.en.rst | 30 +- doc/admin-guide/plugins/lua.en.rst | 165 +- doc/admin-guide/plugins/memcache.en.rst | 4 +- doc/admin-guide/plugins/rate_limit.en.rst | 134 + doc/admin-guide/plugins/slice.en.rst | 4 +- doc/admin-guide/security/index.en.rst | 90 +- doc/admin-guide/security/mtls.en.rst | 2 +- doc/appendices/command-line/traffic_layout.en.rst | 6 +- doc/appendices/faq.en.rst | 17 + doc/conf.py | 2 +- .../api/functions/TSAcceptor.en.rst | 3 +- .../api/functions/TSHttpOverridableConfig.en.rst | 1 + .../functions/TSHttpTxnPostBufferReaderGet.en.rst | 2 +- .../api/functions/TSSslClientContext.en.rst | 7 +- .../api/types/TSOverridableConfigKey.en.rst | 1 + doc/developer-guide/plugins/remap-plugins.en.rst | 2 +- .../testing/blackbox-testing.en.rst | 1 + doc/getting-started/index.en.rst | 2 +- doc/preface/index.en.rst | 11 +- example/plugins/c-api/thread_pool/README.txt | 19 - example/plugins/c-api/thread_pool/TESTPLAN.txt | 30 - .../plugins/c-api/thread_pool/include/gen_inc.sh | 2 - .../thread_pool/test/SDKTest/SDKtest_server.config | 15 - .../c-api/thread_pool/test/SDKTest/psi_server.c | 185 -- example/plugins/lua-api/connect_geoip.lua | 20 +- example/plugins/lua-api/connect_maxmind.lua | 45 + example/plugins/lua-api/connect_redis.lua | 31 +- example/plugins/lua-api/modsecurity/README.md | 8 +- example/plugins/lua-api/modsecurity/example.conf | 4 +- example/plugins/lua-api/reqbody.lua | 17 +- include/ts/apidefs.h.in | 5 + include/ts/parentselectdefs.h | 1 + include/tscore/ConsistentHash.h | 4 +- include/tscore/Extendible.h | 1 + include/tscore/JeAllocator.h | 1 + include/tscore/{INK_MD5.h => MD5.h} | 23 +- include/tscore/MMH.h | 1 - include/tscore/PendingAction.h | 42 +- include/tscore/PluginUserArgs.h | 39 + include/tscore/SHA256.h | 1 - include/tscore/ink_code.h | 42 - include/tscore/ink_config.h.in | 1 + include/tscore/ink_memory.h | 26 +- include/tscore/ink_rwlock.h | 49 +- include/tscore/ink_sock.h | 4 +- include/tscpp/util/Makefile.am | 3 +- include/tscpp/util/TextView.h | 86 +- include/tscpp/util/TsSharedMutex.h | 236 ++ include/tscpp/util/string_view_util.h | 99 + iocore/aio/Inline.cc | 2 - iocore/aio/test_AIO.cc | 9 +- iocore/cache/CacheDir.cc | 6 +- iocore/cache/CacheDisk.cc | 6 +- iocore/cache/CacheTest.cc | 6 +- iocore/cache/Inline.cc | 2 - iocore/cache/P_CacheDir.h | 3 +- iocore/dns/DNS.cc | 28 +- iocore/dns/Inline.cc | 2 - iocore/dns/P_DNSProcessor.h | 23 +- iocore/eventsystem/I_EventProcessor.h | 10 - iocore/eventsystem/I_Thread.h | 2 +- iocore/eventsystem/Inline.cc | 2 - iocore/eventsystem/Thread.cc | 3 +- iocore/eventsystem/UnixEThread.cc | 6 +- iocore/eventsystem/unit_tests/test_IOBuffer.cc | 3 - iocore/hostdb/HostDB.cc | 17 +- iocore/hostdb/Inline.cc | 2 - iocore/net/Inline.cc | 2 - iocore/net/Makefile.am | 5 +- iocore/net/P_SNIActionPerformer.h | 9 +- iocore/net/P_SSLConfig.h | 2 + iocore/net/P_SSLNetVConnection.h | 100 +- iocore/net/P_SSLSNI.h | 3 +- iocore/net/P_SSLUtils.h | 7 +- iocore/net/P_UnixNet.h | 4 +- iocore/net/QUICNetVConnection.cc | 1 - iocore/net/SSLConfig.cc | 10 +- iocore/net/SSLNetVConnection.cc | 218 +- iocore/net/SSLSNIConfig.cc | 28 +- iocore/net/SSLSecret.cc | 6 +- iocore/net/SSLSessionCache.cc | 56 +- iocore/net/SSLSessionCache.h | 9 +- iocore/net/SSLUtils.cc | 119 +- iocore/net/TLSEarlyDataSupport.cc | 74 + .../HashMD5.h => iocore/net/TLSEarlyDataSupport.h | 37 +- iocore/net/TLSSNISupport.cc | 7 +- iocore/net/TLSSessionResumptionSupport.cc | 15 +- iocore/net/TLSSessionResumptionSupport.h | 2 +- iocore/net/TLSTunnelSupport.cc | 81 + iocore/net/TLSTunnelSupport.h | 111 + iocore/net/UnixNetAccept.cc | 30 +- iocore/net/UnixNetVConnection.cc | 9 +- iocore/net/UnixUDPNet.cc | 6 +- iocore/net/YamlSNIConfig.cc | 2 +- iocore/net/libinknet_stub.cc | 13 - iocore/net/test_I_UDPNet.cc | 5 - lib/Makefile.am | 2 +- lib/{ => fastlz}/ChangeLog | 0 lib/{ => fastlz}/README.md | 0 lib/records/RecConfigParse.cc | 2 +- lib/swoc/Makefile.am | 59 + lib/swoc/include/swoc/ArenaWriter.h | 63 + lib/swoc/include/swoc/BufferWriter.h | 638 ++++ lib/swoc/include/swoc/DiscreteRange.h | 1479 +++++++++ lib/swoc/include/swoc/Errata.h | 1287 ++++++++ lib/swoc/include/swoc/HashFNV.h | 256 ++ lib/swoc/include/swoc/IntrusiveDList.h | 915 ++++++ lib/swoc/include/swoc/IntrusiveHashMap.h | 693 +++++ lib/swoc/include/swoc/Lexicon.h | 723 +++++ lib/swoc/include/swoc/MemArena.h | 629 ++++ lib/swoc/include/swoc/MemSpan.h | 942 ++++++ lib/swoc/include/swoc/RBTree.h | 227 ++ lib/swoc/include/swoc/Scalar.h | 1030 +++++++ lib/swoc/include/swoc/TextView.h | 1891 ++++++++++++ lib/swoc/include/swoc/bwf_base.h | 1199 ++++++++ lib/swoc/include/swoc/bwf_ex.h | 218 ++ lib/swoc/include/swoc/bwf_fwd.h | 21 + lib/swoc/include/swoc/bwf_ip.h | 93 + lib/swoc/include/swoc/bwf_std.h | 36 + lib/swoc/include/swoc/swoc_file.h | 270 ++ lib/swoc/include/swoc/swoc_ip.h | 3244 ++++++++++++++++++++ lib/swoc/include/swoc/swoc_meta.h | 201 ++ lib/swoc/include/swoc/swoc_version.h | 33 + lib/swoc/src/ArenaWriter.cc | 47 + lib/swoc/src/Errata.cc | 170 + lib/swoc/src/MemArena.cc | 253 ++ lib/swoc/src/RBTree.cc | 350 +++ lib/swoc/src/TextView.cc | 234 ++ lib/swoc/src/bw_format.cc | 1015 ++++++ lib/swoc/src/bw_ip_format.cc | 350 +++ lib/swoc/src/swoc_file.cc | 204 ++ lib/swoc/src/swoc_ip.cc | 1074 +++++++ mgmt/RecordsConfig.cc | 12 +- mgmt/api/INKMgmtAPI.cc | 1 - plugins/authproxy/authproxy.cc | 17 +- plugins/cache_promote/configs.cc | 14 +- plugins/cache_promote/policy.cc | 4 +- plugins/cache_promote/policy_manager.cc | 12 +- .../cache_range_requests/cache_range_requests.cc | 268 +- plugins/compress/compress.cc | 2 - plugins/esi/combo_handler.cc | 9 +- plugins/esi/esi.cc | 14 + .../cert_reporting_tool/cert_reporting_tool.cc | 5 +- plugins/experimental/magick/magick.cc | 2 +- plugins/experimental/memcache/tsmemcache.cc | 48 +- .../experimental/parent_select/consistenthash.cc | 377 ++- .../experimental/parent_select/consistenthash.h | 8 +- .../parent_select/consistenthash_config.cc | 1 + .../experimental/parent_select/parent_select.cc | 27 +- plugins/experimental/parent_select/strategy.cc | 83 +- plugins/experimental/parent_select/strategy.h | 65 +- plugins/experimental/rate_limit/limiter.h | 81 + plugins/experimental/rate_limit/rate_limit.cc | 5 +- plugins/experimental/rate_limit/sni_limiter.cc | 13 + plugins/experimental/rate_limit/sni_limiter.h | 2 + plugins/experimental/rate_limit/sni_selector.cc | 4 + plugins/experimental/rate_limit/txn_limiter.cc | 14 + plugins/experimental/rate_limit/utilities.cc | 46 + plugins/experimental/rate_limit/utilities.h | 1 + plugins/experimental/remap_stats/remap_stats.cc | 230 +- .../experimental/traffic_dump/transaction_data.cc | 2 +- plugins/experimental/url_sig/url_sig.c | 12 +- plugins/header_rewrite/factory.cc | 3 + plugins/header_rewrite/header_rewrite.cc | 2 +- plugins/header_rewrite/operators.cc | 69 + plugins/header_rewrite/operators.h | 20 + plugins/header_rewrite/parser.h | 7 + plugins/lua/business/mediaslice.lua | 155 - plugins/lua/{business => example}/sethost.lua | 0 plugins/lua/ts_lua.c | 33 +- plugins/lua/ts_lua_http.c | 54 + plugins/lua/ts_lua_http_config.c | 6 + plugins/lua/ts_lua_util.c | 106 +- plugins/lua/ts_lua_util.h | 1 + plugins/s3_auth/aws_auth_v4.cc | 45 +- plugins/s3_auth/s3_auth.cc | 49 +- plugins/s3_auth/unit_tests/test_aws_auth_v4.cc | 85 +- plugins/s3_auth/unit_tests/test_aws_auth_v4.h | 2 +- plugins/stats_over_http/stats_over_http.c | 6 +- proxy/ParentConsistentHash.cc | 19 +- proxy/ParentRoundRobin.cc | 17 +- proxy/ParentSelection.cc | 24 +- proxy/ParentSelection.h | 94 +- proxy/ParentSelectionStrategy.cc | 1 - proxy/hdrs/HTTP.cc | 4 + proxy/hdrs/HTTP.h | 2 + proxy/hdrs/HdrHeap.cc | 5 - proxy/hdrs/HdrToken.cc | 10 +- proxy/hdrs/MIME.cc | 28 +- proxy/hdrs/MIME.h | 239 +- proxy/hdrs/unit_tests/test_Hdrs.cc | 4 +- proxy/http/Http1ClientSession.cc | 11 +- proxy/http/Http1ClientTransaction.cc | 2 +- proxy/http/HttpBodyFactory.cc | 41 +- proxy/http/HttpBodyFactory.h | 8 +- proxy/http/HttpConfig.cc | 26 +- proxy/http/HttpConfig.h | 17 +- proxy/http/HttpSM.cc | 147 +- proxy/http/HttpSM.h | 4 + proxy/http/HttpTransact.cc | 138 +- proxy/http/HttpTransact.h | 2 + proxy/http/HttpTunnel.cc | 11 +- proxy/http/remap/NextHopConsistentHash.cc | 19 +- proxy/http/remap/NextHopHealthStatus.cc | 22 - proxy/http/remap/NextHopRoundRobin.cc | 13 +- proxy/http/remap/NextHopSelectionStrategy.cc | 27 +- proxy/http/remap/NextHopSelectionStrategy.h | 83 +- proxy/http/remap/RemapPlugins.cc | 50 +- proxy/http/remap/RemapPlugins.h | 12 +- proxy/http2/HTTP2.cc | 56 +- proxy/http2/HTTP2.h | 1 + proxy/http2/Http2ClientSession.cc | 8 +- proxy/http2/Http2ConnectionState.h | 4 + proxy/http2/Http2Stream.cc | 11 +- proxy/logging/Log.cc | 44 - proxy/logging/Log.h | 21 +- proxy/logging/LogAccess.cc | 2 +- proxy/logging/LogFilter.h | 2 +- proxy/logging/LogObject.cc | 12 - proxy/logging/LogObject.h | 11 - proxy/logging/LogUtils.cc | 2 +- src/shared/overridable_txn_vars.cc | 8 +- src/traffic_cache_tool/Makefile.inc | 2 +- src/traffic_layout/engine.cc | 2 +- src/traffic_logstats/logstats.cc | 2 +- src/traffic_manager/traffic_manager.cc | 6 +- src/traffic_quic/traffic_quic.cc | 13 - src/traffic_server/InkAPI.cc | 69 +- src/traffic_server/InkAPITest.cc | 17 +- src/tscore/CryptoHash.cc | 5 +- src/tscore/HashMD5.cc | 88 - src/tscore/JeAllocator.cc | 16 + src/tscore/Makefile.am | 4 +- src/tscore/ink_code.cc | 94 - src/tscore/ink_memory.cc | 27 +- src/tscore/ink_queue.cc | 8 +- src/tscore/ink_sock.cc | 4 +- src/tscore/unit_tests/test_BufferWriterFormat.cc | 2 +- src/tscore/unit_tests/test_MMH.cc | 5 +- src/tscore/unit_tests/test_PluginUserArgs.cc | 56 + src/tscore/unit_tests/test_ink_memory.cc | 141 + src/tscpp/util/Makefile.am | 2 +- src/tscpp/util/TextView.cc | 41 - src/tscpp/util/string_view_util.cc | 63 + src/tscpp/util/unit_tests/test_TextView.cc | 11 +- tests/README.md | 1 + .../gold_tests/autest-site/trafficserver.test.ext | 6 - .../chunked_encoding/bad_chunked_encoding.test.py | 133 +- .../gold/verifier_client_chunked.gold | 14 +- .../replays/chunked_in_http_1_0.replay.yaml | 48 + .../replays/malformed_chunked_header.replay.yaml | 109 + tests/gold_tests/connect/connect.test.py | 108 + .../gold_tests/connect/gold/connect_0_stderr.gold | 21 + tests/gold_tests/connect/gold/connect_access.gold | 1 + .../forward_proxy/forward_proxy.replay.yaml | 24 + .../gold_tests/forward_proxy/forward_proxy.test.py | 76 + .../cache_range_requests.test.py | 29 +- .../cache_range_requests_cachekey.test.py | 4 +- .../pluginTest/cache_range_requests/reason.conf | 31 +- tests/gold_tests/pluginTest/esi/esi_304.test.py | 210 ++ .../pluginTest/esi/gold/esi_private_headers.gold | 7 + .../pluginTest/lua/lua_header_table.test.py | 4 +- .../pluginTest/multiplexer/multiplexer.test.py | 38 +- .../parent_select}/body.gold | 0 .../pluginTest/parent_select/parent_select.test.py | 147 + .../parent_select/parent_select_peer.test.py | 177 ++ .../parent_select/parent_select_peer2.test.py | 172 ++ .../parent_select/peer.body.gold} | 0 .../pluginTest/parent_select/peer.trace.gold | 898 ++++++ .../parent_select/peer2.body.gold} | 0 .../pluginTest/parent_select/peer2.trace.gold | 804 +++++ .../gold_tests/pluginTest/parent_select/trace.gold | 96 + .../pluginTest/remap_stats/gold/metrics.gold | 2 + .../pluginTest/remap_stats/gold/metrics_post.gold | 2 + .../gold_tests/pluginTest/remap_stats/metrics.sh | 26 +- .../pluginTest/remap_stats/metrics_post.sh | 26 +- .../pluginTest/remap_stats/remap_stats.test.py | 13 +- ...emap_stats.test.py => remap_stats_post.test.py} | 17 +- tests/gold_tests/pluginTest/tsapi/tsapi.test.py | 11 +- .../post_slow_server_max_requests_in_0_stderr.gold | 5 + .../post_slow_server_max_requests_in_0_stdout.gold | 0 .../post_slow_server_max_requests_in.test.py | 74 + .../proxy_protocol/gold/proxy_serve_stale.gold | 58 + .../proxy_protocol/gold/serve_stale_dns_fail.gold | 57 + .../proxy_protocol/proxy_serve_stale.test.py | 80 + .../proxy_serve_stale_dns_fail.test.py | 79 + ...onf_remap_float.py => conf_remap_float.test.py} | 23 +- tests/gold_tests/tls/ssl_multicert_loader.test.py | 113 + tests/gold_tests/tls/test-0rtt-s_client.py | 2 +- tests/gold_tests/tls/tls_0rtt_server.test.py | 2 +- tests/gold_tests/tls/tls_engine.test.py | 5 +- .../gold_tests/tls/tls_session_key_logging.test.py | 13 +- tests/prepare_proxy_verifier.sh | 2 +- tests/proxy-verifier-version.txt | 2 +- tests/tools/plugins/ssl_verify_test.cc | 25 +- tools/git/pre-commit | 2 +- tools/jtest/jtest.cc | 98 +- 317 files changed, 27669 insertions(+), 3024 deletions(-) create mode 100644 build/mimalloc.m4 delete mode 100644 example/plugins/c-api/thread_pool/test/SDKTest/SDKtest_server.config delete mode 100644 example/plugins/c-api/thread_pool/test/SDKTest/psi_server.c create mode 100644 example/plugins/lua-api/connect_maxmind.lua rename include/tscore/{INK_MD5.h => MD5.h} (73%) delete mode 100644 include/tscore/ink_code.h create mode 100644 include/tscpp/util/TsSharedMutex.h create mode 100644 include/tscpp/util/string_view_util.h create mode 100644 iocore/net/TLSEarlyDataSupport.cc rename include/tscore/HashMD5.h => iocore/net/TLSEarlyDataSupport.h (61%) create mode 100644 iocore/net/TLSTunnelSupport.cc create mode 100644 iocore/net/TLSTunnelSupport.h rename lib/{ => fastlz}/ChangeLog (100%) rename lib/{ => fastlz}/README.md (100%) create mode 100644 lib/swoc/Makefile.am create mode 100644 lib/swoc/include/swoc/ArenaWriter.h create mode 100644 lib/swoc/include/swoc/BufferWriter.h create mode 100644 lib/swoc/include/swoc/DiscreteRange.h create mode 100644 lib/swoc/include/swoc/Errata.h create mode 100644 lib/swoc/include/swoc/HashFNV.h create mode 100644 lib/swoc/include/swoc/IntrusiveDList.h create mode 100644 lib/swoc/include/swoc/IntrusiveHashMap.h create mode 100644 lib/swoc/include/swoc/Lexicon.h create mode 100644 lib/swoc/include/swoc/MemArena.h create mode 100644 lib/swoc/include/swoc/MemSpan.h create mode 100644 lib/swoc/include/swoc/RBTree.h create mode 100644 lib/swoc/include/swoc/Scalar.h create mode 100644 lib/swoc/include/swoc/TextView.h create mode 100644 lib/swoc/include/swoc/bwf_base.h create mode 100644 lib/swoc/include/swoc/bwf_ex.h create mode 100644 lib/swoc/include/swoc/bwf_fwd.h create mode 100644 lib/swoc/include/swoc/bwf_ip.h create mode 100644 lib/swoc/include/swoc/bwf_std.h create mode 100644 lib/swoc/include/swoc/swoc_file.h create mode 100644 lib/swoc/include/swoc/swoc_ip.h create mode 100644 lib/swoc/include/swoc/swoc_meta.h create mode 100644 lib/swoc/include/swoc/swoc_version.h create mode 100644 lib/swoc/src/ArenaWriter.cc create mode 100644 lib/swoc/src/Errata.cc create mode 100644 lib/swoc/src/MemArena.cc create mode 100644 lib/swoc/src/RBTree.cc create mode 100644 lib/swoc/src/TextView.cc create mode 100644 lib/swoc/src/bw_format.cc create mode 100644 lib/swoc/src/bw_ip_format.cc create mode 100644 lib/swoc/src/swoc_file.cc create mode 100644 lib/swoc/src/swoc_ip.cc delete mode 100644 plugins/lua/business/mediaslice.lua rename plugins/lua/{business => example}/sethost.lua (100%) delete mode 100644 src/tscore/HashMD5.cc delete mode 100644 src/tscore/ink_code.cc create mode 100644 src/tscore/unit_tests/test_PluginUserArgs.cc create mode 100644 src/tscore/unit_tests/test_ink_memory.cc create mode 100644 src/tscpp/util/string_view_util.cc create mode 100644 tests/gold_tests/chunked_encoding/replays/chunked_in_http_1_0.replay.yaml create mode 100644 tests/gold_tests/chunked_encoding/replays/malformed_chunked_header.replay.yaml create mode 100644 tests/gold_tests/connect/connect.test.py create mode 100644 tests/gold_tests/connect/gold/connect_0_stderr.gold create mode 100644 tests/gold_tests/connect/gold/connect_access.gold create mode 100644 tests/gold_tests/forward_proxy/forward_proxy.replay.yaml create mode 100644 tests/gold_tests/forward_proxy/forward_proxy.test.py copy example/plugins/c-api/thread_pool/include/gen_inc.sh => tests/gold_tests/pluginTest/cache_range_requests/reason.conf (63%) create mode 100644 tests/gold_tests/pluginTest/esi/esi_304.test.py create mode 100644 tests/gold_tests/pluginTest/esi/gold/esi_private_headers.gold copy tests/gold_tests/{next_hop/zzz_strategies_peer2 => pluginTest/parent_select}/body.gold (100%) mode change 100644 => 100755 create mode 100755 tests/gold_tests/pluginTest/parent_select/parent_select.test.py create mode 100644 tests/gold_tests/pluginTest/parent_select/parent_select_peer.test.py create mode 100644 tests/gold_tests/pluginTest/parent_select/parent_select_peer2.test.py copy tests/gold_tests/{next_hop/zzz_strategies_peer2/body.gold => pluginTest/parent_select/peer.body.gold} (100%) mode change 100644 => 100755 create mode 100644 tests/gold_tests/pluginTest/parent_select/peer.trace.gold copy tests/gold_tests/{next_hop/zzz_strategies_peer2/body.gold => pluginTest/parent_select/peer2.body.gold} (100%) create mode 100644 tests/gold_tests/pluginTest/parent_select/peer2.trace.gold create mode 100755 tests/gold_tests/pluginTest/parent_select/trace.gold create mode 100644 tests/gold_tests/pluginTest/remap_stats/gold/metrics.gold create mode 100644 tests/gold_tests/pluginTest/remap_stats/gold/metrics_post.gold copy include/tscpp/util/Makefile.am => tests/gold_tests/pluginTest/remap_stats/metrics.sh (72%) mode change 100644 => 100755 copy include/tscpp/util/Makefile.am => tests/gold_tests/pluginTest/remap_stats/metrics_post.sh (72%) mode change 100644 => 100755 copy tests/gold_tests/pluginTest/remap_stats/{remap_stats.test.py => remap_stats_post.test.py} (78%) create mode 100644 tests/gold_tests/post_slow_server/gold/post_slow_server_max_requests_in_0_stderr.gold copy configs/body_factory/default/connect#failed_connect => tests/gold_tests/post_slow_server/gold/post_slow_server_max_requests_in_0_stdout.gold (100%) create mode 100644 tests/gold_tests/post_slow_server/post_slow_server_max_requests_in.test.py create mode 100644 tests/gold_tests/proxy_protocol/gold/proxy_serve_stale.gold create mode 100644 tests/gold_tests/proxy_protocol/gold/serve_stale_dns_fail.gold create mode 100644 tests/gold_tests/proxy_protocol/proxy_serve_stale.test.py create mode 100644 tests/gold_tests/proxy_protocol/proxy_serve_stale_dns_fail.test.py rename tests/gold_tests/remap/{conf_remap_float.py => conf_remap_float.test.py} (78%) create mode 100644 tests/gold_tests/tls/ssl_multicert_loader.test.py