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 11f8b06 Add proxy.config.quic.max_ack_delay_in/out add e8f19ed TCL: Remove TCL dependency from Alarms add d03553c Cachekey doc minor typos fixed. add 867d9c8 Removes this unused old/duplicated define add d8ee0cb Update logic to watch config files even if they are not default add 4c54058 Create 'for_testing_only' subdirectory under plugins subdirectory. add 5134462 Prevent segment violation in TSContDestroy() when it is called during destruction of statically-allocated objects at program termination. add 2421b8d TCL: Remove TCL dependency from TSControl and EventControl add 15001f8 Convert traffic_cache_tool to use ts_file add 168275b TCL: Rmove TCL dependency from HostStatus add 2029028 YAML: Move ts_meta to external C++ library. add 2d263cd YAML: move MemSpan to external C++ library. add b95a38f TCL: TCLHashTable in proxy converted to use STL add b79e11f YAML: LibSWOC upgrade for TextView. add dfc1bfc Fix build for 32bits ARM & MIPS arch. Closes #4361 add 3849dbf Schedule event to ensure contination is locked before handler is called. add eddd3cb TCL: Remove TCL depedency from mgmt add 08bbf91 TCL: Rmove TCL dependency from UrlRewrite add fa47103 supporting ImageMagick 6 and 7 add df96885 Add test for ticket reuse with proxy.config.ssl.server.ticket_key.filename add 458bb1f Update documentation for SSL VERIFY hooks. add a7d06b8 TCL: remove tcl depencency from HostLookUp and refresh for C++11 add 9c4f847 Fixes memory leak in header_rewrite when GeoIP is used add 8e309ff Add hooks for outbound TLS start and close. add 3e6def4 Corrects the wording of the usage messages for traffic_ctl host subcommand. add 73c0125 YAML: TextView upgrade revisited. Somehow the header was upgraded previously, but not the implementation. add 2552d78 YAML: Inline BufferWriter formatting functions. add 5cd7b75 Cleaning up TLS server verify options add 38738ba Change atscppapi::TransformationPlugin to use atscppapi::Continuation instead of TSCont. add 19a55a2 Fixes leak when no OCSP URL is available add ea52b7c Converts loop and callees in SSLInitServerContext to std::string add cac6211 YAML: LibSWOC IntrusiveDList update. Move to 'ts' namespace, make plugin accessible, add some additional link support. add 7c42fdd register stats in traffic_server if running in standalone mode add 3ae02b1 Adds v4 support using temporary security token add c42e1e6 Converts to stack-based buffer for record lookup during logging add f36b670 Fixes memory leaks in compress plugin add 4efed05 Split current active client connections stats into HTTP/1.1 and HTTP/2 add fc0e45e clang-format add 1a2fc8c Fix leak in stapling_refresh_response add a76cf14 TCL: Remove TCL dependency from proxy/logging add 8f820c0 Fixes memory leaks in header_rewrite add d83798a Fixes more leaks when no OCSP URL is available add ef669b2 Do not attempt clang-analyzer builds on 7.1.x branch add 08df216 plugin: ats_fastcgi (experimental) add ed69080 Fixes plugin builds using tsxs on MacOS add a89fb08 allow regex_revalidate per remap rule, remove direct ink includes add 76cc7eb Fix chained server cert verify add 06353cf Update documentation about draining with header_rewrite add 88bf15a Fix for #4413 - avoid ASAN crash on use after free for file name. add 37a3a56 Plugins: Cleanup up dependencies on core headers - background_fetch add eb21ac0 Small doc typo fix add 63873d4 Add VConn Reenable event so plugins can error processing. add 322e97b Use references for indexes of range-based for loops when this avoids expensive copies. add ac61c35 preventing crashing when calling TSSslContextFindByName with a nullptr or a 0 lenght string add 4904954 Clean up client certificate specification and add tests add 8df0102 CacheTool: Cleanup TS_INLINE. add 38dfe38 Adding cdnicrit claim support for uri signing service add 21e9709 Augment cryptic diag message when log line fails to print due to unknown field specifier in custom log format. add d483f49 Enable reloadable records.config client cert settings add 763be6c Make sure ua_session is not nullptr add 2e60fbf Rewrite TunnelHashMap in modern standard add 71c2a9c Convert ctx_store in SSLCertLookUp to use STL vector add 477b9b2 Some C++ cleanup for header_rewrite add 95b70f0 Removes ref-counting from background_fetch add 420d5af Merge branch 'master' into quic-latest No new revisions were added by this update. Summary of changes: .clang-analyzer | 3 +- ci/jenkins/bin/clang-analyzer.sh | 5 +- ci/rat-regex.txt | 1 + configure.ac | 17 +- doc/admin-guide/files/records.config.en.rst | 263 +- doc/admin-guide/files/ssl_server_name.yaml.en.rst | 86 +- .../statistics/core/http-connection.en.rst | 8 + doc/admin-guide/plugins/cachekey.en.rst | 12 +- doc/admin-guide/plugins/header_rewrite.en.rst | 7 +- doc/admin-guide/plugins/regex_revalidate.en.rst | 5 +- doc/admin-guide/plugins/s3_auth.en.rst | 4 + doc/admin-guide/security/index.en.rst | 4 +- .../api/functions/TSNetInvokingGet.en.rst | 37 + .../api/functions/TSVConnReenable.en.rst | 32 +- doc/developer-guide/api/types/TSHttpHookID.en.rst | 6 + .../internal-libraries/intrusive-list.en.rst | 22 +- .../plugins/example-plugins/tls_bridge.en.rst | 2 +- .../plugins/hooks-and-transactions/index.en.rst | 10 +- .../hooks-and-transactions/ssl-hooks.en.rst | 75 +- .../DelayTransformationPlugin.cc | 9 +- include/ts/apidefs.h.in | 13 +- include/ts/ts.h | 13 + include/tscore/BufferWriter.h | 2 +- include/tscore/CryptoHash.h | 14 +- include/tscore/Diags.h | 9 - include/tscore/HostLookup.h | 163 +- include/tscore/IntrusiveHashMap.h | 8 +- include/tscore/IpMap.h | 2 +- include/tscore/MemArena.h | 2 +- include/tscore/ink_atomic.h | 12 +- include/tscpp/api/TransformationPlugin.h | 19 +- include/{tscore => tscpp/util}/IntrusiveDList.h | 324 +- include/tscpp/util/Makefile.am | 1 + include/{tscore => tscpp/util}/MemSpan.h | 21 +- include/tscpp/util/TextView.h | 158 +- include/{tscore => tscpp/util}/ts_meta.h | 2 +- iocore/dns/SplitDNS.cc | 14 +- iocore/eventsystem/Thread.cc | 7 + iocore/hostdb/P_RefCountCacheSerializer.h | 4 +- iocore/net/I_NetVConnection.h | 13 +- iocore/net/OCSPStapling.cc | 39 +- iocore/net/P_SSLConfig.h | 11 +- iocore/net/P_SSLNetVConnection.h | 40 +- iocore/net/P_SSLSNI.h | 7 +- iocore/net/P_SSLUtils.h | 43 +- iocore/net/SSLCertLookup.cc | 29 +- iocore/net/SSLClientUtils.cc | 98 +- iocore/net/SSLConfig.cc | 174 +- iocore/net/SSLNetVConnection.cc | 239 +- iocore/net/SSLSNIConfig.cc | 21 +- iocore/net/SSLUtils.cc | 23 +- iocore/net/YamlSNIConfig.cc | 62 +- iocore/net/YamlSNIConfig.h | 31 +- mgmt/Alarms.cc | 87 +- mgmt/Alarms.h | 11 +- mgmt/BaseManager.cc | 23 +- mgmt/BaseManager.h | 5 +- mgmt/FileManager.cc | 83 +- mgmt/FileManager.h | 19 +- mgmt/RecordsConfig.cc | 12 +- mgmt/Rollback.cc | 6 +- mgmt/Rollback.h | 9 +- mgmt/WebMgmtUtils.cc | 114 - mgmt/WebMgmtUtils.h | 7 - mgmt/api/CoreAPI.cc | 13 +- mgmt/api/EventControlMain.cc | 64 +- mgmt/api/EventControlMain.h | 4 +- mgmt/api/TSControlMain.cc | 65 +- plugins/Makefile.am | 3 +- plugins/background_fetch/background_fetch.cc | 12 +- plugins/background_fetch/configs.cc | 2 + plugins/background_fetch/configs.h | 30 +- plugins/background_fetch/rules.cc | 1 + plugins/compress/compress.cc | 9 +- plugins/experimental/fastcgi/README.md | 81 + plugins/experimental/fastcgi/src/Makefile | 54 + plugins/experimental/fastcgi/src/Profiler.h | 239 ++ plugins/experimental/fastcgi/src/Readme | 169 + plugins/experimental/fastcgi/src/ats_fastcgi.cc | 219 ++ plugins/experimental/fastcgi/src/ats_fastcgi.h | 50 + .../experimental/fastcgi/src/ats_fcgi_client.cc | 645 ++++ plugins/experimental/fastcgi/src/ats_fcgi_client.h | 131 + .../experimental/fastcgi/src/bin/php-fastcgi.sh | 57 + .../fastcgi/src/config/ats_mod_fcgi.config | 11 + .../experimental/fastcgi/src/config/fastcgi.config | 18 + plugins/experimental/fastcgi/src/configuru.hpp | 3914 ++++++++++++++++++++ .../experimental/fastcgi/src/connection_pool.cc | 91 + plugins/experimental/fastcgi/src/connection_pool.h | 55 + plugins/experimental/fastcgi/src/fcgi_config.cc | 804 ++++ plugins/experimental/fastcgi/src/fcgi_config.h | 174 + plugins/experimental/fastcgi/src/fcgi_protocol.h | 134 + plugins/experimental/fastcgi/src/request_queue.cc | 85 + .../jwt.h => fastcgi/src/request_queue.h} | 45 +- plugins/experimental/fastcgi/src/server.cc | 408 ++ plugins/experimental/fastcgi/src/server.h | 122 + .../experimental/fastcgi/src/server_connection.cc | 195 + .../experimental/fastcgi/src/server_connection.h | 119 + .../experimental/fastcgi/src/server_intercept.cc | 107 + .../experimental/fastcgi/src/server_intercept.h | 101 + plugins/experimental/magick/magick.cc | 5 +- plugins/experimental/uri_signing/jwt.c | 6 + plugins/experimental/uri_signing/jwt.h | 1 + .../test_cppapi/Makefile.inc | 6 +- .../test_cppapi/test_cppapi.cc | 0 .../test_hooks}/Makefile.inc | 6 +- plugins/for_testing_only/test_hooks/test_hooks.cc | 322 ++ plugins/header_rewrite/condition.h | 15 +- plugins/header_rewrite/conditions.cc | 11 +- plugins/header_rewrite/conditions.h | 48 +- plugins/header_rewrite/expander.h | 2 +- plugins/header_rewrite/header_rewrite.cc | 9 +- plugins/header_rewrite/matcher.h | 40 +- plugins/header_rewrite/operator.h | 8 +- plugins/header_rewrite/operators.cc | 17 +- plugins/header_rewrite/operators.h | 42 +- plugins/header_rewrite/parser.h | 4 +- plugins/header_rewrite/regex_helper.h | 7 +- plugins/header_rewrite/resources.h | 42 +- plugins/header_rewrite/ruleset.cc | 2 + plugins/header_rewrite/ruleset.h | 31 +- plugins/header_rewrite/statement.h | 36 +- plugins/header_rewrite/value.cc | 8 + plugins/header_rewrite/value.h | 13 +- plugins/regex_revalidate/regex_revalidate.c | 167 +- plugins/s3_auth/aws_auth_v4.h | 1 + plugins/s3_auth/s3_auth.cc | 44 +- proxy/ControlMatcher.cc | 14 +- proxy/ControlMatcher.h | 5 +- proxy/HostStatus.h | 10 +- proxy/InkAPIInternal.h | 6 +- proxy/ProxyClientSession.cc | 4 +- proxy/ProxyClientSession.h | 2 + proxy/ReverseProxy.h | 1 - proxy/http/Http1ClientSession.cc | 12 + proxy/http/Http1ClientSession.h | 3 + proxy/http/HttpConfig.cc | 4 - proxy/http/HttpConnectionCount.cc | 11 + proxy/http/HttpConnectionCount.h | 12 +- proxy/http/HttpDebugNames.cc | 48 +- proxy/http/HttpDebugNames.h | 43 +- proxy/http/HttpSM.cc | 35 +- proxy/http/remap/UrlRewrite.cc | 83 +- proxy/http/remap/UrlRewrite.h | 13 +- proxy/http2/HTTP2.cc | 30 +- proxy/http2/HTTP2.h | 6 +- proxy/http2/Http2ClientSession.cc | 18 +- proxy/http2/Http2ClientSession.h | 18 +- proxy/http2/Http2ConnectionState.cc | 4 + proxy/logging/Log.cc | 190 +- proxy/logging/Log.h | 5 +- proxy/logging/LogAccess.cc | 14 +- proxy/logging/LogBuffer.cc | 9 +- proxy/logging/LogField.cc | 19 +- proxy/logging/LogField.h | 16 + proxy/logging/LogFormat.cc | 1 + src/traffic_cache_tool/CacheDefs.cc | 14 +- src/traffic_cache_tool/CacheDefs.h | 35 +- src/traffic_cache_tool/CacheScan.h | 4 +- src/traffic_cache_tool/CacheTool.cc | 159 +- src/traffic_cache_tool/File.cc | 136 - src/traffic_cache_tool/File.h | 217 -- src/traffic_cache_tool/Makefile.inc | 4 +- src/traffic_ctl/host.cc | 4 +- src/traffic_manager/AddConfigFilesHere.cc | 41 +- src/traffic_manager/traffic_manager.cc | 57 +- src/traffic_server/HostStatus.cc | 49 +- src/traffic_server/InkAPI.cc | 93 +- src/traffic_server/InkAPITest.cc | 8 +- src/traffic_server/traffic_server.cc | 9 + src/tscore/ArgParser.cc | 16 +- src/tscore/CryptoHash.cc | 12 + src/tscore/HostLookup.cc | 1143 ++---- src/tscore/IntrusivePtrTest.cc | 2 +- src/tscore/IpMap.cc | 4 +- src/tscore/Makefile.am | 4 - src/tscore/runroot.cc | 2 +- src/tscore/unit_tests/test_BufferWriterFormat.cc | 2 +- src/tscpp/api/TransformationPlugin.cc | 71 +- src/tscpp/util/Makefile.am | 5 +- src/tscpp/util/TextView.cc | 98 +- .../util}/unit_tests/test_IntrusiveDList.cc | 37 +- .../util}/unit_tests/test_MemSpan.cc | 4 +- src/tscpp/util/unit_tests/test_TextView.cc | 43 +- .../util}/unit_tests/test_ts_meta.cc | 3 +- tests/bootstrap.py | 2 +- tests/gold_tests/autest-site/init.cli.ext | 2 +- tests/gold_tests/autest-site/microserver.test.ext | 15 +- .../gold_tests/autest-site/trafficserver.test.ext | 4 +- tests/gold_tests/pluginTest/test_hooks/log.gold | 11 + .../{xdebug/x_remap => test_hooks}/one.in | 0 .../pluginTest/test_hooks/test_hooks.test.py | 68 + tests/gold_tests/tls/file.ticket | 17 + tests/gold_tests/tls/ssl/signed-bar.key | 28 + tests/gold_tests/tls/ssl/signed-bar.pem | 19 + tests/gold_tests/tls/ssl/signed-foo.key | 28 + tests/gold_tests/tls/ssl/signed-foo.pem | 19 + tests/gold_tests/tls/ssl/signed2-bar.pem | 21 + tests/gold_tests/tls/ssl/signed2-foo.pem | 21 + .../ssl/server.key => tls/ssl/signer.key} | 0 .../server.pem => gold_tests/tls/ssl/signer.pem} | 0 tests/gold_tests/tls/ssl/signer2.key | 28 + tests/gold_tests/tls/ssl/signer2.pem | 23 + tests/gold_tests/tls/tls_client_cert.test.py | 314 ++ tests/gold_tests/tls/tls_hooks_verify.test.py | 110 + tests/gold_tests/tls/tls_ticket.test.py | 128 + tests/gold_tests/tls/tls_verify.test.py | 139 + tests/gold_tests/tls/tls_verify2.test.py | 175 + .../tls_hooks/gold/ts-close-out-close.gold | 3 + .../tls_hooks/gold/ts-out-delay-start-2.gold | 5 + .../tls_hooks/gold/ts-out-start-close-2.gold | 4 + tests/gold_tests/tls_hooks/tls_hooks10.test.py | 7 - tests/gold_tests/tls_hooks/tls_hooks12.test.py | 15 - .../{tls_hooks10.test.py => tls_hooks13.test.py} | 24 +- .../{tls_hooks10.test.py => tls_hooks14.test.py} | 26 +- .../{tls_hooks10.test.py => tls_hooks15.test.py} | 24 +- tests/tools/microServer/uWServer.py | 14 +- tests/tools/plugins/ssl_hook_test.cc | 134 +- tests/tools/plugins/ssl_verify_test.cc | 125 + tools/tsxs.in | 2 + 219 files changed, 12956 insertions(+), 3237 deletions(-) create mode 100644 doc/developer-guide/api/functions/TSNetInvokingGet.en.rst rename include/{tscore => tscpp/util}/IntrusiveDList.h (60%) rename include/{tscore => tscpp/util}/MemSpan.h (95%) rename include/{tscore => tscpp/util}/ts_meta.h (97%) create mode 100644 plugins/experimental/fastcgi/README.md create mode 100644 plugins/experimental/fastcgi/src/Makefile create mode 100644 plugins/experimental/fastcgi/src/Profiler.h create mode 100644 plugins/experimental/fastcgi/src/Readme create mode 100644 plugins/experimental/fastcgi/src/ats_fastcgi.cc create mode 100644 plugins/experimental/fastcgi/src/ats_fastcgi.h create mode 100644 plugins/experimental/fastcgi/src/ats_fcgi_client.cc create mode 100644 plugins/experimental/fastcgi/src/ats_fcgi_client.h create mode 100644 plugins/experimental/fastcgi/src/bin/php-fastcgi.sh create mode 100644 plugins/experimental/fastcgi/src/config/ats_mod_fcgi.config create mode 100644 plugins/experimental/fastcgi/src/config/fastcgi.config create mode 100644 plugins/experimental/fastcgi/src/configuru.hpp create mode 100644 plugins/experimental/fastcgi/src/connection_pool.cc create mode 100644 plugins/experimental/fastcgi/src/connection_pool.h create mode 100644 plugins/experimental/fastcgi/src/fcgi_config.cc create mode 100644 plugins/experimental/fastcgi/src/fcgi_config.h create mode 100644 plugins/experimental/fastcgi/src/fcgi_protocol.h create mode 100644 plugins/experimental/fastcgi/src/request_queue.cc copy plugins/experimental/{uri_signing/jwt.h => fastcgi/src/request_queue.h} (60%) create mode 100644 plugins/experimental/fastcgi/src/server.cc create mode 100644 plugins/experimental/fastcgi/src/server.h create mode 100644 plugins/experimental/fastcgi/src/server_connection.cc create mode 100644 plugins/experimental/fastcgi/src/server_connection.h create mode 100644 plugins/experimental/fastcgi/src/server_intercept.cc create mode 100644 plugins/experimental/fastcgi/src/server_intercept.h copy plugins/{ => for_testing_only}/test_cppapi/Makefile.inc (75%) rename plugins/{ => for_testing_only}/test_cppapi/test_cppapi.cc (100%) rename plugins/{test_cppapi => for_testing_only/test_hooks}/Makefile.inc (75%) create mode 100644 plugins/for_testing_only/test_hooks/test_hooks.cc delete mode 100644 src/traffic_cache_tool/File.cc delete mode 100644 src/traffic_cache_tool/File.h rename src/{tscore => tscpp/util}/unit_tests/test_IntrusiveDList.cc (85%) rename src/{tscore => tscpp/util}/unit_tests/test_MemSpan.cc (97%) rename src/{tscore => tscpp/util}/unit_tests/test_ts_meta.cc (97%) create mode 100644 tests/gold_tests/pluginTest/test_hooks/log.gold copy tests/gold_tests/pluginTest/{xdebug/x_remap => test_hooks}/one.in (100%) create mode 100644 tests/gold_tests/pluginTest/test_hooks/test_hooks.test.py create mode 100644 tests/gold_tests/tls/file.ticket create mode 100644 tests/gold_tests/tls/ssl/signed-bar.key create mode 100644 tests/gold_tests/tls/ssl/signed-bar.pem create mode 100644 tests/gold_tests/tls/ssl/signed-foo.key create mode 100644 tests/gold_tests/tls/ssl/signed-foo.pem create mode 100644 tests/gold_tests/tls/ssl/signed2-bar.pem create mode 100644 tests/gold_tests/tls/ssl/signed2-foo.pem copy tests/gold_tests/{tls_hooks/ssl/server.key => tls/ssl/signer.key} (100%) copy tests/{tools/microServer/ssl/server.pem => gold_tests/tls/ssl/signer.pem} (100%) create mode 100644 tests/gold_tests/tls/ssl/signer2.key create mode 100644 tests/gold_tests/tls/ssl/signer2.pem create mode 100644 tests/gold_tests/tls/tls_client_cert.test.py create mode 100644 tests/gold_tests/tls/tls_hooks_verify.test.py create mode 100644 tests/gold_tests/tls/tls_ticket.test.py create mode 100644 tests/gold_tests/tls/tls_verify.test.py create mode 100644 tests/gold_tests/tls/tls_verify2.test.py create mode 100644 tests/gold_tests/tls_hooks/gold/ts-close-out-close.gold create mode 100644 tests/gold_tests/tls_hooks/gold/ts-out-delay-start-2.gold create mode 100644 tests/gold_tests/tls_hooks/gold/ts-out-start-close-2.gold copy tests/gold_tests/tls_hooks/{tls_hooks10.test.py => tls_hooks13.test.py} (74%) copy tests/gold_tests/tls_hooks/{tls_hooks10.test.py => tls_hooks14.test.py} (74%) copy tests/gold_tests/tls_hooks/{tls_hooks10.test.py => tls_hooks15.test.py} (74%) create mode 100644 tests/tools/plugins/ssl_verify_test.cc