This is an automated email from the ASF dual-hosted git repository. bneradt pushed a commit to branch 10-Dev in repository https://gitbox.apache.org/repos/asf/trafficserver.git
commit 1bb416cafa2845c9469f6ad444f1e4cc0edb40a6 Merge: 2a0e8c685 e6d9c8e86 Author: Brian Neradt <[email protected]> AuthorDate: Mon Oct 10 17:59:28 2022 +0000 Merge latest ASF master into 10-Dev Conflicts: configure.ac .lgtm.yml | 1 + build/wavm.m4 | 170 +++ configure.ac | 3 + doc/admin-guide/plugins/index.en.rst | 4 + doc/admin-guide/plugins/wasm.en.rst | 95 ++ include/tscore/JeAllocator.h | 1 - include/tscpp/util/TsSharedMutex.h | 30 +- iocore/hostdb/HostDB.cc | 1 + iocore/hostdb/P_HostDBProcessor.h | 5 +- iocore/net/P_TLSKeyLogger.h | 4 +- iocore/net/SSLSessionCache.cc | 5 +- iocore/net/SSLSessionCache.h | 10 +- iocore/net/TLSKeyLogger.cc | 1 + plugins/Makefile.am | 4 + plugins/experimental/wasm/Makefile.inc | 54 + plugins/experimental/wasm/ats_context.cc | 1508 ++++++++++++++++++++ plugins/experimental/wasm/ats_context.h | 219 +++ plugins/experimental/wasm/ats_wasm.cc | 143 ++ plugins/experimental/wasm/ats_wasm.h | 77 + plugins/experimental/wasm/examples/cpp/README.md | 8 + .../experimental/wasm/examples/cpp/myproject.cc | 85 ++ .../experimental/wasm/examples/cpp/myproject.yaml | 36 +- plugins/experimental/wasm/examples/rust/Cargo.toml | 32 + plugins/experimental/wasm/examples/rust/README.md | 13 + .../experimental/wasm/examples/rust/myfilter.yaml | 36 +- plugins/experimental/wasm/examples/rust/src/lib.rs | 83 ++ plugins/experimental/wasm/lib/.clang-format | 2 + .../wasm/lib/LICENSE.proxy-wasm-cpp-host | 203 +++ .../wasm/lib/LICENSE.proxy-wasm-cpp-sdk | 203 +++ .../wasm/lib/README.proxy-wasm-cpp-host.md | 1 + .../wasm/lib/README.proxy-wasm-cpp-sdk.md | 229 +++ .../wasm/lib/include/proxy-wasm/bytecode_util.h | 75 + .../wasm/lib/include/proxy-wasm/context.h | 419 ++++++ .../lib/include/proxy-wasm/context_interface.h | 679 +++++++++ .../wasm/lib/include/proxy-wasm/exports.h | 244 ++++ .../wasm/lib/include/proxy-wasm/limits.h | 32 + .../wasm/lib/include/proxy-wasm/null.h | 25 + .../wasm/lib/include/proxy-wasm/null_plugin.h | 171 +++ .../wasm/lib/include/proxy-wasm/null_vm.h | 69 + .../wasm/lib/include/proxy-wasm/null_vm_plugin.h | 44 + .../wasm/lib/include/proxy-wasm/signature_util.h | 33 + .../experimental/wasm/lib/include/proxy-wasm/v8.h | 26 + .../wasm/lib/include/proxy-wasm/vm_id_handle.h | 36 + .../wasm/lib/include/proxy-wasm/wamr.h | 26 + .../wasm/lib/include/proxy-wasm/wasm.h | 439 ++++++ .../wasm/lib/include/proxy-wasm/wasm_api_impl.h | 292 ++++ .../wasm/lib/include/proxy-wasm/wasm_vm.h | 356 +++++ .../wasm/lib/include/proxy-wasm/wasmedge.h | 26 + .../wasm/lib/include/proxy-wasm/wasmtime.h | 23 + .../wasm/lib/include/proxy-wasm/wavm.h | 26 + .../wasm/lib/include/proxy-wasm/word.h | 88 ++ plugins/experimental/wasm/lib/proxy_wasm_common.h | 112 ++ plugins/experimental/wasm/lib/proxy_wasm_enums.h | 74 + plugins/experimental/wasm/lib/src/bytecode_util.cc | 244 ++++ plugins/experimental/wasm/lib/src/common/types.h | 38 + plugins/experimental/wasm/lib/src/context.cc | 529 +++++++ plugins/experimental/wasm/lib/src/exports.cc | 950 ++++++++++++ plugins/experimental/wasm/lib/src/null/null.cc | 24 + .../experimental/wasm/lib/src/null/null_plugin.cc | 515 +++++++ plugins/experimental/wasm/lib/src/null/null_vm.cc | 115 ++ plugins/experimental/wasm/lib/src/shared_data.cc | 120 ++ plugins/experimental/wasm/lib/src/shared_data.h | 53 + plugins/experimental/wasm/lib/src/shared_queue.cc | 154 ++ plugins/experimental/wasm/lib/src/shared_queue.h | 66 + .../experimental/wasm/lib/src/signature_util.cc | 144 ++ plugins/experimental/wasm/lib/src/v8/v8.cc | 722 ++++++++++ plugins/experimental/wasm/lib/src/vm_id_handle.cc | 73 + plugins/experimental/wasm/lib/src/wamr/types.h | 42 + plugins/experimental/wasm/lib/src/wamr/wamr.cc | 649 +++++++++ plugins/experimental/wasm/lib/src/wasm.cc | 611 ++++++++ plugins/experimental/wasm/lib/src/wasmedge/types.h | 29 + .../experimental/wasm/lib/src/wasmedge/wasmedge.cc | 614 ++++++++ plugins/experimental/wasm/lib/src/wasmtime/types.h | 43 + .../experimental/wasm/lib/src/wasmtime/wasmtime.cc | 699 +++++++++ plugins/experimental/wasm/lib/src/wavm/wavm.cc | 491 +++++++ plugins/experimental/wasm/wasm_main.cc | 552 +++++++ plugins/s3_auth/s3_auth.cc | 2 +- proxy/http2/Http2ConnectionState.cc | 17 +- proxy/http2/Http2ConnectionState.h | 12 + tests/gold_tests/h2/http2_flow_control.replay.yaml | 237 +++ tests/gold_tests/h2/http2_flow_control.test.py | 211 +++ .../s3_auth/gold/s3_auth_parsing_ts.gold | 2 +- .../s3_auth/rules/v4-parse-test.test_input | 5 + 83 files changed, 14463 insertions(+), 81 deletions(-) diff --cc configure.ac index 655051c03,0bc472ec9..d4efce19d --- a/configure.ac +++ b/configure.ac @@@ -1437,16 -1437,9 +1437,19 @@@ TS_CHECK_BROTL # Check for optional luajit library TS_CHECK_LUAJIT +# Check for optional quiche library +TS_CHECK_QUICHE +if test "${has_quiche}" = "1"; then +enable_quic=yes +## Doing these again for Quiche +AM_CONDITIONAL([ENABLE_QUIC], [test "x$enable_quic" = "xyes"]) +TS_ARG_ENABLE_VAR([use], [quic]) +AC_SUBST(use_quic) +fi + + # Check for optional WAVM library + TS_CHECK_WAVM + # # Enable experimental/uri_signing plugin # This is here, instead of above, because it needs to know if PCRE is available.
